public override bool Check(IVarInterpretator interpretator) { if (((T)interpretator.GetVariable(VariableName)).Equals(CheckValue)) { return(true); } return(false); }
public abstract bool Check(IVarInterpretator interpretator);
public override bool Check(IVarInterpretator interpretator) { int result = ((T)interpretator.GetVariable(VariableName)).CompareTo(CheckValue); return(result >= 0); }