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;
 }
Example #2
0
 public BookIndexer(IElasticClient client, IResourceLocker locker, ILogger <BookIndexer> logger)
 {
     _client = client;
     _locker = locker;
     _logger = logger;
 }
Example #3
0
 public CollectionService(IServiceProvider services, IElasticClient client)
 {
     _services = services;
     _client   = client;
 }