Ejemplo n.º 1
0
 /// <summary>
 /// The base class for all Simple State Machines
 /// </summary>
 /// <param name="eventNames"></param>
 /// <param name="stateNames"></param>
 protected StateMachineInternalBase(string[] eventNames, string[] stateNames)
 {
     EventNames   = eventNames;
     StateNames   = stateNames;
     CurrentState = StartState;
     EventTrace   = new EventTraceList(EventTraceDepth, EventNames, StateNames);
 }
 public void Dispose()
 {
     _eventList = null;
 }
 public EventTraceListEnumerator(EventTraceList eventList)
 {
     _eventList = eventList;
     Reset();
 }