예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(UtcTime.GetHashCode() * 397 + TimeZoneOffset.GetHashCode());
     }
 }
예제 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((TimeZone != null ? TimeZone.GetHashCode() : 0) * 397) ^ UtcTime.GetHashCode());
     }
 }
예제 #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((TimeZone?.GetHashCode() ?? 0) * 397) ^ UtcTime.GetHashCode());
     }
 }
예제 #4
0
        public override int GetHashCode()
        {
            var hashCode = 2007374510;

            hashCode = hashCode * -1521134295 + UtcTime.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Room);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Content);

            return(hashCode);
        }