Ejemplo n.º 1
0
            public override void AssertIsValid()
            {
                AssertGetState();
                base.AssertIsValid();

                if (ToStates.IsEmpty())
                {
                    throw new InvalidOperationException("Operation {0} does not have ToStates initialized".FormatWith(operationSymbol));
                }
            }
Ejemplo n.º 2
0
 public override string ToString()
 {
     return(base.ToString() + " in state " + ToStates.CommaOr());
 }