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 move next method.

Returns
Type Description
MethodInfo

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