Пример #1
0
 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));
 }
Пример #2
0
 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));
 }