Implemented interface member:
property
ConnectionStringExpression
Aspire.Hosting.ApplicationModel.IResourceWithConnectionString.ConnectionStringExpression
4 references to ConnectionStringExpression
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
63connectionString = await elasticsearch.ConnectionStringExpression.GetValueAsync(ct).ConfigureAwait(false);
Aspire.Hosting.Elasticsearch.Tests (3)
ElasticsearchFunctionalTests.cs (3)
47hb.Configuration[$"ConnectionStrings:{elasticsearch.Resource.Name}"] = await elasticsearch.Resource.ConnectionStringExpression.GetValueAsync(default); 110hb.Configuration[$"ConnectionStrings:{elasticsearch1.Resource.Name}"] = await elasticsearch1.Resource.ConnectionStringExpression.GetValueAsync(default); 155hb.Configuration[$"ConnectionStrings:{elasticsearch2.Resource.Name}"] = await elasticsearch2.Resource.ConnectionStringExpression.GetValueAsync(default);