Пример #1
0
 public AuditIngestor(AuditImporter auditImporter, IDocumentStore store, IForwardMessages messageForwarder, Settings settings)
 {
     this.auditImporter    = auditImporter;
     this.store            = store;
     this.messageForwarder = messageForwarder;
     this.settings         = settings;
 }
Пример #2
0
        public AuditQueueImport(IBuilder builder, ISendMessages forwarder, IDocumentStore store, CriticalError criticalError, LoggingSettings loggingSettings, Settings settings, AuditImporter auditImporter)
        {
            this.builder   = builder;
            this.forwarder = forwarder;
            this.store     = store;

            this.criticalError   = criticalError;
            this.loggingSettings = loggingSettings;
            this.settings        = settings;
            this.auditImporter   = auditImporter;

            enrichers = builder.BuildAll <IEnrichImportedMessages>().Where(e => e.EnrichAudits).ToArray();
        }
 public ImportFailedAudits(IDocumentStore store, AuditImporter auditImporter)
 {
     this.store         = store;
     this.auditImporter = auditImporter;
 }