/// <summary> /// Creates a new instance of an IBBIndexerService with an Elasticsearch backend. /// </summary> /// <param name="client"></param> /// <param name="config"></param> public ESBBIndexerService(IElasticClient client, IOptions <ESBBIndexerServiceOptions> config, ILogger <ESBBIndexerService> logger) { this._client = client; this._config = config.Value; this._logger = logger; }
/// <summary> /// Creates a new instance of an IBBIndexerService with an Elasticsearch backend. /// </summary> /// <param name="client"></param> /// <param name="config"></param> public ESBBIndexerService(IElasticClient client, IOptions <ESBBIndexerServiceOptions> config) { this._client = client; this._config = config.Value; }