public override bool Equals(object obj) { return(obj is InvocationStartRequested requested && ServiceId == requested.ServiceId && MethodId == requested.MethodId && ConsumerApplicationId == requested.ConsumerApplicationId && ConsumerConnectionId.Equals(requested.ConsumerConnectionId) && ServiceAlias.Equals(requested.ServiceAlias)); }
private bool Equals(ProvidedServiceReference other) { return(string.Equals(ServiceId, other.ServiceId) && ServiceAlias.Equals(other.ServiceAlias) && string.Equals(ApplicationId, other.ApplicationId) && ConnectionId.Equals(other.ConnectionId)); }
private bool Equals(InvocationStartRequested other) { return(string.Equals(ServiceId, other.ServiceId) && string.Equals(MethodId, other.MethodId) && ServiceAlias.Equals(other.ServiceAlias) && string.Equals(ConsumerApplicationId, other.ConsumerApplicationId) && ConsumerConnectionId.Equals(other.ConsumerConnectionId) && ConsumerApplicationInstanceId.Equals(other.ConsumerApplicationInstanceId)); }