1 write to ConnectionString
Aspire.Microsoft.Azure.Cosmos (1)
AspireMicrosoftAzureCosmosExtensions.cs (1)
82
settings.
ConnectionString
= connectionString;
5 references to ConnectionString
Aspire.Microsoft.Azure.Cosmos (4)
AspireMicrosoftAzureCosmosExtensions.cs (4)
99
if (CosmosUtils.IsEmulatorConnectionString(settings.
ConnectionString
))
125
if (!string.IsNullOrEmpty(settings.
ConnectionString
))
127
return new CosmosClient(settings.
ConnectionString
, clientOptions);
138
$"{nameof(settings.
ConnectionString
)} or {nameof(settings.AccountEndpoint)} must be provided " +
Aspire.Microsoft.Azure.Cosmos.Tests (1)
ConfigurationTests.cs (1)
12
=> Assert.Null(new MicrosoftAzureCosmosSettings().
ConnectionString
);