public Context() { SenderHolder = new SenderHolder(); NotifyService = new NotifyRegistryImpl(this); NotifyEngine = new NotifyEngine(this); DispatchEngine = new DispatchEngine(this); }
public Context(IServiceProvider serviceProvider) { var options = serviceProvider.GetService <IOptionsMonitor <ILog> >(); Log = options.CurrentValue; NotifyEngine = new NotifyEngine(this, serviceProvider); DispatchEngine = new DispatchEngine(this, serviceProvider.GetService <IConfiguration>(), options); }
public DispatchSink(string senderName, DispatchEngine dispatcher) { if (dispatcher == null) { throw new ArgumentNullException("dispatcher"); } this.dispatcher = dispatcher; this.senderName = senderName; }
public Context() { NotifyEngine = new NotifyEngine(this); DispatchEngine = new DispatchEngine(this); }