예제 #1
0
파일: Test.cs 프로젝트: linminglu/majiang-1
 public bool EqualsType(MySubType other)
 {
     return(Bool == other.Bool &&
            Int32 == other.Int32 &&
            UInt32 == other.UInt32 &&
            Int64 == other.Int64 &&
            UInt64 == other.UInt64 &&
            Float32.Equals(other.Float32) &&
            Float64.Equals(other.Float64) &&
            Enum == other.Enum &&
            string.Equals(Str, other.Str));
 }
예제 #2
0
파일: Test.cs 프로젝트: linminglu/majiang-1
 protected bool EqualsType(MyType other)
 {
     return(Bool == other.Bool &&
            Int32 == other.Int32 &&
            UInt32 == other.UInt32 &&
            Int64 == other.Int64 &&
            UInt64 == other.UInt64 &&
            Float32.Equals(other.Float32) &&
            Float64.Equals(other.Float64) &&
            string.Equals(Str, other.Str) &&
            Enum == other.Enum &&
            Equals(Struct, other.Struct));
 }