public FeedAggregatorService( IConfiguration configuration, IServiceProvider serviceProvider, IContainer container, IOptionsMonitor <ILog> optionsMonitor, SignalrServiceClient signalrServiceClient, IConfigureNamedOptions <SignalrServiceClient> configureOptions) { Configuration = configuration; ServiceProvider = serviceProvider; Container = container; Log = optionsMonitor.Get("ASC.Feed.Agregator"); SignalrServiceClient = signalrServiceClient; configureOptions.Configure("counters", SignalrServiceClient); }
public CookieOptionsServiceTest() { _service = new CookieOptionsService(); }
public SocketServiceLauncher(IOptionsMonitor <ILog> options, IConfiguration configuration, CoreBaseSettings coreBaseSettings, SignalrServiceClient signalrServiceClient, IHostEnvironment hostEnvironment, IConfigureNamedOptions <SignalrServiceClient> configureOptions) { Logger = options.CurrentValue; CancellationTokenSource = new CancellationTokenSource(); Configuration = configuration; CoreBaseSettings = coreBaseSettings; SignalrServiceClient = signalrServiceClient; HostEnvironment = hostEnvironment; configureOptions.Configure(SignalrServiceClient); }