Пример #1
0
 /// <inheritdoc />
 public override int GetHashCode()
 {
     unchecked {
         int hashCode = PayloadItems.GetHashCode();
         hashCode = (hashCode * 397) ^ PayloadConfiguration.GetHashCode();
         return(hashCode);
     }
 }
Пример #2
0
 /// <inheritdoc />
 public bool Equals(Manifest other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(PayloadItems.Equals(other.PayloadItems) &&
            PayloadConfiguration.Equals(other.PayloadConfiguration));
 }