/// <inheritdoc /> public EventToPutWithIdOnRecordFilterMatch <TId> DeepClone() { var result = new EventToPutWithIdOnRecordFilterMatch <TId>( this.RecordExistsMatchStrategy.DeepClone(), this.EventToPut?.DeepClone(), this.ChainOfResponsibilityLinkMatchStrategy.DeepClone()); return(result); }
/// <inheritdoc /> public bool Equals(EventToPutWithIdOnRecordFilterMatch <TId> other) { if (ReferenceEquals(this, other)) { return(true); } if (ReferenceEquals(other, null)) { return(false); } var result = this.RecordExistsMatchStrategy.IsEqualTo(other.RecordExistsMatchStrategy) && this.EventToPut.IsEqualTo(other.EventToPut) && this.ChainOfResponsibilityLinkMatchStrategy.IsEqualTo(other.ChainOfResponsibilityLinkMatchStrategy); return(result); }