Ejemplo n.º 1
0
        public bool Inspect <T>(TransitionToAction <T> action)
            where T : StateMachine <T>
        {
            Vertex targetStateVertex = GetStateVertex(action.NewState.Name, () => action.NewState.Name, typeof(State), typeof(T));

            _edges.Add(new Edge(_currentEventVertex, targetStateVertex, _currentEventVertex.Title));

            return(true);
        }
Ejemplo n.º 2
0
 public bool Inspect <T>(TransitionToAction <T> action)
     where T : StateMachine <T>
 {
     Append("Transition To " + action.NewState.Name);
     return(true);
 }