예제 #1
0
 protected bool Equals(SupportBean_N other)
 {
     return IntPrimitive == other.IntPrimitive &&
            IntBoxed == other.IntBoxed &&
            DoublePrimitive.Equals(other.DoublePrimitive) &&
            DoubleBoxed.Equals(other.DoubleBoxed) &&
            BoolPrimitive == other.BoolPrimitive &&
            BoolBoxed == other.BoolBoxed;
 }
예제 #2
0
 protected bool Equals(SupportBeanVariantStream other)
 {
     return string.Equals(TheString, other.TheString) &&
            BoolBoxed == other.BoolBoxed &&
            IntPrimitive == other.IntPrimitive &&
            LongPrimitive == other.LongPrimitive &&
            DoublePrimitive.Equals(other.DoublePrimitive) &&
            EnumValue == other.EnumValue;
 }