Example #1
0
 protected bool Equals(AllTypes <T> other)
 {
     return(Id == other.Id && NullableId == other.NullableId &&
            Byte == other.Byte &&
            Short == other.Short &&
            Int == other.Int &&
            Long == other.Long &&
            UShort == other.UShort &&
            UInt == other.UInt &&
            ULong == other.ULong &&
            Float.Equals(other.Float) &&
            Double.Equals(other.Double) &&
            Decimal == other.Decimal &&
            string.Equals(String, other.String) &&
            DateTime.Equals(other.DateTime) &&
            TimeSpan.Equals(other.TimeSpan) &&
            DateTimeOffset.Equals(other.DateTimeOffset) &&
            Guid.Equals(other.Guid) &&
            Char == other.Char &&
            NullableDateTime.Equals(other.NullableDateTime) &&
            NullableTimeSpan.Equals(other.NullableTimeSpan) &&
            StringList.EquivalentTo(other.StringList) &&
            StringArray.EquivalentTo(other.StringArray) &&
            StringMap.EquivalentTo(other.StringMap) &&
            IntStringMap.EquivalentTo(other.IntStringMap) &&
            Equals(SubType, other.SubType) &&
            Equals(GenericType, other.GenericType));
 }