/// <summary> /// Returns true if ComAdobeCqDtmReactorImplServiceWebServiceImplProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeCqDtmReactorImplServiceWebServiceImplProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeCqDtmReactorImplServiceWebServiceImplProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( EndpointUri == other.EndpointUri || EndpointUri != null && EndpointUri.Equals(other.EndpointUri) ) && ( ConnectionTimeout == other.ConnectionTimeout || ConnectionTimeout != null && ConnectionTimeout.Equals(other.ConnectionTimeout) ) && ( SocketTimeout == other.SocketTimeout || SocketTimeout != null && SocketTimeout.Equals(other.SocketTimeout) )); }
public bool Equals(SubscriptionInformation subscription) { if (subscription == null) { return(false); } if (!EndpointUri.Equals(subscription.EndpointUri)) { return(false); } if (!string.Equals(MessageName, subscription.MessageName)) { return(false); } if (!string.Equals(CorrelationId, subscription.CorrelationId)) { return(false); } return(true); }