public void Start <TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine =>
 AsyncMethodBuilderCore.Start(ref stateMachine);
Ejemplo n.º 2
0
 public void Start <TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine
 {
     // Should not be static
     AsyncMethodBuilderCore.Start(ref stateMachine);
 }
 public void Start <TStateMachine>(ref TStateMachine stateMachine)
     where TStateMachine : IAsyncStateMachine
 {
     _coreState.Start(ref stateMachine);
 }
Ejemplo n.º 4
0
 public void Start <TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine =>
 // will provide the right ExecutionContext semantics
 AsyncMethodBuilderCore.Start(ref stateMachine);
 public void Start<TStateMachine>(ref TStateMachine stateMachine)
     where TStateMachine : IAsyncStateMachine
 {
     // argument validation handled by AsyncMethodBuilderCore
     _coreState.Start(ref stateMachine);
 }
Ejemplo n.º 6
0
 public void TrueStart(IAsyncStateMachine stateMachine)
 {
     m_coreState.Start(stateMachine);
 }