public LoggingConsumerWrapper(IExecutionLogPublisher logger, IConsumer consumer, Guid resourceId, string userName) { _logger = logger; _consumer = consumer; _resourceId = resourceId; _userName = userName; }
public Implementation(IHangfireContext hangfireContext, ConfigImpl implConfig) { _logger = implConfig.ExecutionLoggerFactory.New(new JsonSerializer(), new WebSocketPool()); _writer = implConfig.Writer; _pause = implConfig.PauseHelper; _hangfireContext = hangfireContext; _persistence = Config.Persistence; _deserializer = new Dev2JsonSerializer(); _eventWaitHandlerFactory.New(); }
public ManualResumptionActivity(PersistenceSettings config, IPersistenceExecution resumeExecution, IExecutionLogPublisher logger) { DisplayName = "Manual Resumption"; OverrideDataFunc = new ActivityFunc <string, bool> { DisplayName = "Data Action", Argument = new DelegateInArgument <string>($"explicitData_{DateTime.Now:yyyyMMddhhmmss}"), Handler = new DsfSequenceActivity(), }; _persistenceEnabled = config.Enable; _scheduler = resumeExecution; _logger = logger; }
public Implementation(IArgs options, Config implConfig) { _options = options; _logger = implConfig.ExecutionLoggerFactory.New(new JsonSerializer(), new WebSocketPool()); _writer = implConfig.Writer; _filePath = implConfig.FilePath; _environment = implConfig.EnvironmentWrapper; _serverProxyFactory = implConfig.ServerProxyFactory; _resourceCatalogProxyFactory = implConfig.ResourceCatalogProxyFactory; _workerContextFactory = implConfig.WorkerContextFactory; _triggersCatalogFactory = implConfig.TriggersCatalogFactory; _fileSystemWatcherFactory = implConfig.FileSystemWatcherFactory; _queueWorkerImplementationFactory = implConfig.QueueWorkerImplementationFactory; }
public ResumptionAttribute(IExecutionLogPublisher logger, IResumptionFactory resumptionFactory) { _logger = logger; _resumptionFactory = resumptionFactory; }
public ResumptionAttribute(IExecutionLogPublisher logger) { _logger = logger; }