/// <summary> /// <see cref="object.ToString" /> /// </summary> public override string ToString() { if (_ifCondition != null) { return("IF " + _ifCondition.EvaluateToString()); } return("IF"); }
/// <summary> /// <see cref="ICondition.EvaluateToString" /> /// </summary> public string EvaluateToString() { if (_condition != null) { return(string.Format("(NOT {0})", _condition.EvaluateToString())); } return("(NOT )"); }