示例#1
0
 internal Audit()
 {
     EnableByDefault();
     Defaults(settings =>
     {
         settings.Set(AuditConfigReader.GetConfiguredAuditQueue(settings));
     });
     Prerequisite(config => config.Settings.GetOrDefault <AuditConfigReader.Result>() != null, "No configured audit queue was found");
 }
示例#2
0
 internal Audit()
 {
     EnableByDefault();
     Prerequisite(config => AuditConfigReader.GetConfiguredAuditQueue(config.Settings, out auditConfig), "No configured audit queue was found");
 }