Example #1
0
 public override bool IsSuitableAuditProcessor(ObjectAuditProcessor processor, ObjectAuditingMode mode) {
     var isNoAuditMode = mode == (ObjectAuditingMode)Logic.ObjectAuditingMode.None;
     if (isNoAuditMode) {
         return processor is NoAuditProccesor;
     }
     return base.IsSuitableAuditProcessor(processor, mode);
 }
Example #2
0
        public override bool IsSuitableAuditProcessor(ObjectAuditProcessor processor, ObjectAuditingMode mode)
        {
            var isNoAuditMode = mode == (ObjectAuditingMode)Logic.ObjectAuditingMode.None;

            if (isNoAuditMode)
            {
                return(processor is NoAuditProccesor);
            }
            return(base.IsSuitableAuditProcessor(processor, mode));
        }