private bool Equals(NamedBool other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Value, other.Value)); }
public int CompareTo(NamedBool other) { return(this.Value == other.Value ? 0 : 1); }