private bool IsEqual(CustomAccessRule accessRule) { return(IdentityReference.Equals(accessRule.IdentityReference) && AccessMask.Equals(accessRule.AccessMask) && AccessControlType.Equals(accessRule.AccessControlType) && InheritanceFlags.Equals(accessRule.InheritanceFlags) && PropagationFlags.Equals(accessRule.PropagationFlags)); }
private bool IsEqual(CustomAuditRule auditRule) { return(IdentityReference.Equals(auditRule.IdentityReference) && AccessMask.Equals(auditRule.AccessMask) && AuditFlags.Equals(auditRule.AuditFlags) && InheritanceFlags.Equals(auditRule.InheritanceFlags) && PropagationFlags.Equals(auditRule.PropagationFlags)); }