protected bool IsEqual(ThreeStateBoolean x, ThreeStateBoolean y) { if (x == ThreeStateBoolean.Unknown || y == ThreeStateBoolean.Unknown) { return(false); } //quick check return(x == y); }
protected string ThreeStateToString(ThreeStateBoolean ts, string value) { switch (ts) { case ThreeStateBoolean.False: return("false"); case ThreeStateBoolean.True: return("true"); } return(value); }