public bool Equals(IFormatKey other) { if (ReferenceEquals(null, other)) { return(false); } return(other is CompositeFormatKey && this.Equals((CompositeFormatKey)other)); }
public bool Equals(IFormatKey other) { if (ReferenceEquals(null, other)) { return(false); } return(other is ValueAndSymbolFormatKey && this.Equals((ValueAndSymbolFormatKey)other)); }