Exemplo n.º 1
0
 public DiscordOAuthHandler(IUserService users, IElasticClient client, IHttpClientFactory http, ISnapshotService snapshots, IOptionsMonitor <DiscordOAuthOptions> options, IResourceLocker locker, ILinkGenerator link)
 {
     _users     = users;
     _client    = client;
     _snapshots = snapshots;
     _http      = http.CreateClient(nameof(DiscordOAuthHandler));
     _options   = options;
     _locker    = locker;
     _link      = link;
 }
Exemplo n.º 2
0
 public BookIndexer(IElasticClient client, IResourceLocker locker, ILogger <BookIndexer> logger)
 {
     _client = client;
     _locker = locker;
     _logger = logger;
 }
Exemplo n.º 3
0
 public CollectionService(IServiceProvider services, IElasticClient client)
 {
     _services = services;
     _client   = client;
 }