예제 #1
0
            public bool Equals(IFormatKey other)
            {
                if (ReferenceEquals(null, other))
                {
                    return(false);
                }

                return(other is CompositeFormatKey && this.Equals((CompositeFormatKey)other));
            }
예제 #2
0
            public bool Equals(IFormatKey other)
            {
                if (ReferenceEquals(null, other))
                {
                    return(false);
                }

                return(other is ValueAndSymbolFormatKey && this.Equals((ValueAndSymbolFormatKey)other));
            }