コード例 #1
0
 public void Start <TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine =>
 AsyncMethodBuilderCore.Start(ref stateMachine);
コード例 #2
0
 public void Start <TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine
 {
     // Should not be static
     AsyncMethodBuilderCore.Start(ref stateMachine);
 }
コード例 #3
0
 public void Start <TStateMachine>(ref TStateMachine stateMachine)
     where TStateMachine : IAsyncStateMachine
 {
     _coreState.Start(ref stateMachine);
 }
コード例 #4
0
 public void Start <TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : IAsyncStateMachine =>
 // will provide the right ExecutionContext semantics
 AsyncMethodBuilderCore.Start(ref stateMachine);
コード例 #5
0
 public void Start<TStateMachine>(ref TStateMachine stateMachine)
     where TStateMachine : IAsyncStateMachine
 {
     // argument validation handled by AsyncMethodBuilderCore
     _coreState.Start(ref stateMachine);
 }
コード例 #6
0
 public void TrueStart(IAsyncStateMachine stateMachine)
 {
     m_coreState.Start(stateMachine);
 }