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