예제 #1
0
 public Implementation(IHangfireContext hangfireContext, ConfigImpl configImpl, PersistenceSettings persistenceSettings, IBuilderSerializer deserializer, IEventWaitHandle waitHandle)
     : this(hangfireContext, configImpl)
 {
     _persistence             = persistenceSettings;
     _deserializer            = deserializer;
     _eventWaitHandlerFactory = waitHandle;
 }
예제 #2
0
 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();
 }