2 references to CreateElasticsearchClient
Aspire.Elastic.Clients.Elasticsearch (2)
AspireElasticClientsElasticsearchExtensions.cs (2)
91
builder.Services.AddSingleton<ElasticsearchClient>(
CreateElasticsearchClient
);
95
builder.Services.AddKeyedSingleton<ElasticsearchClient>(serviceKey, (sp, key) =>
CreateElasticsearchClient
(sp));