Ejemplo n.º 1
0
 public NotifyServiceLauncher(NotifyServiceCfg notifyServiceCfg,
                              NotifySender notifySender,
                              NotifyService notifyService,
                              NotifyCleaner notifyCleaner,
                              WebItemManager webItemManager)
 {
     NotifyServiceCfg = notifyServiceCfg;
     NotifyService    = notifyService;
     NotifySender     = notifySender;
     NotifyCleaner    = notifyCleaner;
     WebItemManager   = webItemManager;
 }
 public NotifyCleaner(NotifyServiceCfg notifyServiceCfg)
 {
     NotifyServiceCfg        = notifyServiceCfg;
     CancellationTokenSource = new CancellationTokenSource();
 }
Ejemplo n.º 3
0
 public DbWorker(NotifyServiceCfg notifyServiceCfg)
 {
     NotifyServiceCfg = notifyServiceCfg;
     dbid             = NotifyServiceCfg.ConnectionStringName;
 }
Ejemplo n.º 4
0
 public NotifySender(IOptions <NotifyServiceCfg> notifyServiceCfg, DbWorker dbWorker, IOptionsMonitor <ILog> options)
 {
     log = options.CurrentValue;
     NotifyServiceCfg = notifyServiceCfg.Value;
     db = dbWorker;
 }
Ejemplo n.º 5
0
 public DbWorker(IServiceProvider serviceProvider, IOptions <NotifyServiceCfg> notifyServiceCfg)
 {
     ServiceProvider  = serviceProvider;
     NotifyServiceCfg = notifyServiceCfg.Value;
     dbid             = NotifyServiceCfg.ConnectionStringName;
 }
 public NotifySender(NotifyServiceCfg notifyServiceCfg, DbWorker dbWorker)
 {
     NotifyServiceCfg = notifyServiceCfg;
     db = dbWorker;
 }