public override int GetHashCode()
        {
            var hash = HashSeed;

            hash = hash * HashFactor + typeof(IndexesActivityDelegate <TImageType>).GetHashCode();

            if (MusicFolderId != null)
            {
                hash = hash * HashFactor + MusicFolderId.GetHashCode();
            }

            if (IfModifiedSince != null)
            {
                hash = hash * HashFactor + IfModifiedSince.GetHashCode();
            }

            return(hash);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Get a hash code for the HttpAccessConditions.
 /// </summary>
 /// <returns>Hash code for the HttpAccessConditions.</returns>
 public override int GetHashCode()
 => IfModifiedSince.GetHashCode()
 ^ IfUnmodifiedSince.GetHashCode()
 ^ IfMatch.GetHashCode()
 ^ IfNoneMatch.GetHashCode()
 ;