示例#1
0
        public override bool Equals(object obj)
        {
            NullableFieldComparer <TClass, TField> fc = obj as NullableFieldComparer <TClass, TField>;

            if (fc == null)
            {
                return(false);
            }
            return(Equals(fc));
        }
示例#2
0
 public bool Equals(NullableFieldComparer <TClass, TField> fc)
 {
     return(getter.Equals(fc.getter) &&
            (this is ReverseNullableComparer <TClass, TField>) == (fc is ReverseNullableComparer <TClass, TField>));
 }