Пример #1
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         result = (result * 397) ^ Uri?.GetHashCode() ?? 0;
         result = (result * 397) ^ StabilityPolicy.GetHashCode();
         result = (result * 397) ^ Feeds.GetUnsequencedHashCode();
         return(result);
     }
 }
Пример #2
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         if (Uri != null)
         {
             result = (result * 397) ^ Uri.GetHashCode();
         }
         result = (result * 397) ^ StabilityPolicy.GetHashCode();
         result = (result * 397) ^ Feeds.GetSequencedHashCode();
         return(result);
     }
 }