public override int GetHashCode() { unchecked { int hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ DateToRetain.GetHashCode(); hashCode = (hashCode * 397) ^ DeletePriorVersions.GetHashCode(); hashCode = (hashCode * 397) ^ SpecificVersion.GetHashCode(); return(hashCode); } }
public bool Equals(DeleteRevisionsEventArgs other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && DateToRetain.Equals(other.DateToRetain) && DeletePriorVersions == other.DeletePriorVersions && SpecificVersion.Equals(other.SpecificVersion)); }