示例#1
0
 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);
     }
 }
示例#2
0
 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));
 }