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); }
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)); }