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