public override int GetHashCode() { unchecked { return(((FriendlyName != null ? FriendlyName.GetHashCode() : 0) * 397) ^ DeviceGuid.GetHashCode()); } }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns>The hash code for the <strong>Oid2</strong> as an integer.</returns> public override Int32 GetHashCode() { unchecked { Int32 hashCode = (Value != null ? Value.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Int32)OidGroup; hashCode = (hashCode * 397) ^ (FriendlyName != null ? FriendlyName.GetHashCode() : 0); return(hashCode); } }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns>The hash code for the <strong>Oid2</strong> as an integer.</returns> public override Int32 GetHashCode() { unchecked { Int32 hashCode = Value?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (Int32)OidGroup; hashCode = (hashCode * 397) ^ (FriendlyName?.GetHashCode() ?? 0); return(hashCode); } }
void ComputeHashCode() { _hashCode = Name.GetHashCode(); _hashCode ^= FriendlyName.GetHashCode(); _hashCode ^= NameFormat.GetHashCode(); _hashCode ^= Namespace.GetHashCode(); _hashCode ^= ValueType.GetHashCode(); _hashCode ^= OriginalIssuer.GetHashCode(); }
int ComputeHashCode() { int hashCode = Name.GetHashCode(); hashCode ^= FriendlyName.GetHashCode(); hashCode ^= NameFormat.GetHashCode(); hashCode ^= ValueType.GetHashCode(); hashCode ^= OriginalIssuer.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = (FriendlyName != null ? FriendlyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DeviceId != null ? DeviceId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Device != null ? Device.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (FriendlyName != null ? FriendlyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ RemoteHostId.GetHashCode(); hashCode = (hashCode * 397) ^ (LocalIp != null ? LocalIp.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id; hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FriendlyName != null ? FriendlyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Link != null ? Link.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = CategoryId.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FriendlyName != null ? FriendlyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CategoryUrl != null ? CategoryUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CouponsCount.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = FriendlyName != null?FriendlyName.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (MCode != null ? MCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ProductId; hashCode = (hashCode * 397) ^ MId; return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FriendlyName != null ? FriendlyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (StoreUrl != null ? StoreUrl.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (FriendlyName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (SingleRef?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (SingleSelfRef?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (SingleRecurse?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ResolveOnly?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = StoreId.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FriendlyName != null ? FriendlyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (StoreUrl != null ? StoreUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CouponsCount.GetHashCode(); return(hashCode); } }
/// <inheritdoc /> public override int GetHashCode() { return(FriendlyName?.GetHashCode() ?? 0); }