public override int GetHashCode() { unchecked { return((BaseUri.GetHashCode() * 397) ^ Prefix.GetHashCode()); } }
/// <inheritdoc /> public override int GetHashCode() { return(HashCode.Combine( Kind.GetHashCode(), BaseUri != null ? BaseUri.GetHashCode() : 0, ResourceType != null ? ResourceType.GetHashCode(StringComparison.OrdinalIgnoreCase) : 0, ResourceId != null ? ResourceId.GetHashCode(StringComparison.OrdinalIgnoreCase) : 0)); }
public override int GetHashCode() { int hash = 17; hash = (23 * hash) + Language.GetHashCode(); hash = (23 * hash) + BaseUri.GetHashCode(); hash = (23 * hash) + Hosting.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (aggregationStrategy_ != null) { hash ^= AggregationStrategy.GetHashCode(); } hash ^= histograms_.GetHashCode(); if (BaseUri.Length != 0) { hash ^= BaseUri.GetHashCode(); } if (ApiKey.Length != 0) { hash ^= ApiKey.GetHashCode(); } if (DefaultFidelityParametersFilename.Length != 0) { hash ^= DefaultFidelityParametersFilename.GetHashCode(); } if (InitialRequestTimeoutMs != 0) { hash ^= InitialRequestTimeoutMs.GetHashCode(); } if (UltimateRequestTimeoutMs != 0) { hash ^= UltimateRequestTimeoutMs.GetHashCode(); } if (LoadingAnnotationIndex != 0) { hash ^= LoadingAnnotationIndex.GetHashCode(); } if (LevelAnnotationIndex != 0) { hash ^= LevelAnnotationIndex.GetHashCode(); } return(hash); }