Пример #1
0
 public SocketHookHosting(HookOptions options, IHookLifetimeService hookLifetime, ISocketHookService hookService, IHostEnvironment env)
 {
     _isProduction      = env.IsProduction();
     _socketHookService = hookService;
     _hookLifetime      = hookLifetime;
     _options           = options;
 }
Пример #2
0
 public SocketHookServiceFactory(HttpClient client, IHookLifetimeService hookLifetime)
 {
     _hookLifetime = hookLifetime;
     _client       = client;
 }
Пример #3
0
 public SocketHookService(HttpClient client, IHookLifetimeService hookLifetime, InjectOptions options = default)
 {
     _injectionSettings = options?.ToString();
     _hookLifetime      = hookLifetime;
     _client            = client;
 }