mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing CacheClientConfiguration hash code
This commit is contained in:
@@ -57,9 +57,9 @@ namespace Orchard.Azure.Services.Caching {
|
||||
|
||||
public override int GetHashCode() {
|
||||
int hash = 37;
|
||||
hash = hash * 23 + HostIdentifier != null ? HostIdentifier.GetHashCode() : 0;
|
||||
hash = hash * 23 + CacheName != null ? CacheName.GetHashCode() : 0;
|
||||
hash = hash * 23 + AuthorizationToken != null ? AuthorizationToken.GetHashCode() : 0;
|
||||
hash = hash * 23 + (HostIdentifier != null ? HostIdentifier.GetHashCode() : 0);
|
||||
hash = hash * 23 + (CacheName != null ? CacheName.GetHashCode() : 0);
|
||||
hash = hash * 23 + (AuthorizationToken != null ? AuthorizationToken.GetHashCode() : 0);
|
||||
hash = hash * 23 + CompressionIsEnabled.GetHashCode();
|
||||
return hash;
|
||||
}
|
||||
|
Reference in New Issue
Block a user