IInSyntax <TState, TEvent, TContext> IOnSyntax <TState, TEvent, TContext> .GoTo(TState state) { var toState = StateDict[state]; var tr = Factory.CreateTransition(CurrentEvent, toState); CurrentState.AddTransition(tr); return(this); }