public override int GetHashCode() { unchecked { var hashCode = (ServiceId != null ? ServiceId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ServiceAlias.GetHashCode(); hashCode = (hashCode * 397) ^ (ApplicationId != null ? ApplicationId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ConnectionId.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (ServiceId != null ? ServiceId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (MethodId != null ? MethodId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ServiceAlias.GetHashCode(); hashCode = (hashCode * 397) ^ (ConsumerApplicationId != null ? ConsumerApplicationId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ConsumerConnectionId.GetHashCode(); hashCode = (hashCode * 397) ^ ConsumerApplicationInstanceId.GetHashCode(); return(hashCode); } }