Open sandboxFocus

Method GetStateMachinePublicMethod

GetStateMachinePublicMethod(MethodInfo)

Gets the public (or kick-off) method given a MoveNext method.

Declaration
public static MethodInfo GetStateMachinePublicMethod(this MethodInfo method)
Parameters
Type Name Description
MethodInfo method

The MoveNext method.

Returns
Type Description
MethodInfo

The public (kick-off) method corresponding to method.