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