示例#1
0
 public AwaitableStateConfiguration <TState, TTrigger> OnEntry(Func <Transition <TState, TTrigger>, Task> action)
 {
     return(Helper.OnEntry(this, action,
                           AwaitableTransitionFlag.EntryReturnsTask));
 }
示例#2
0
 public AwaitableStateConfiguration <TState, TTrigger> OnEntry(Action <Transition <TState, TTrigger> > action)
 {
     return(Helper.OnEntry(this, action, AwaitableTransitionFlag.None));
 }