public override bool Equals(object obj)
        {
            StateTransition other = (StateTransition)obj;

            return(other != null && this.CurrentState == other.CurrentState && this.Command == other.Command);
        }
示例#2
0
 public CombinedTransitionState(StateTransition trans, ProcessState nextState)
 {
     this.Transition = trans;
     this.NextState  = nextState;
 }