3 instantiations of MicrosoftAzureCosmosSettings
Aspire.Microsoft.Azure.Cosmos (1)
AspireMicrosoftAzureCosmosExtensions.cs (1)
68var settings = new MicrosoftAzureCosmosSettings();
Aspire.Microsoft.Azure.Cosmos.Tests (2)
ConfigurationTests.cs (2)
12=> Assert.Null(new MicrosoftAzureCosmosSettings().ConnectionString); 16=> Assert.False(new MicrosoftAzureCosmosSettings().DisableTracing);
12 references to MicrosoftAzureCosmosSettings
Aspire.Microsoft.Azure.Cosmos (7)
AspireMicrosoftAzureCosmosExtensions.cs (6)
26/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="MicrosoftAzureCosmosSettings"/>. It's invoked after the settings are read from the configuration.</param> 33Action<MicrosoftAzureCosmosSettings>? configureSettings = null, 45/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="MicrosoftAzureCosmosSettings"/>. It's invoked after the settings are read from the configuration.</param> 52Action<MicrosoftAzureCosmosSettings>? configureSettings = null, 61Action<MicrosoftAzureCosmosSettings>? configureSettings, 68var settings = new MicrosoftAzureCosmosSettings();
AssemblyInfo.cs (1)
7[assembly: ConfigurationSchema("Aspire:Microsoft:Azure:Cosmos", typeof(MicrosoftAzureCosmosSettings))]
Aspire.Microsoft.Azure.Cosmos.Tests (5)
ConformanceTests.cs (5)
13public class ConformanceTests : ConformanceTests<CosmosClient, MicrosoftAzureCosmosSettings> 28protected override void RegisterComponent(HostApplicationBuilder builder, Action<MicrosoftAzureCosmosSettings>? configure = null, string? key = null) 40protected override void SetHealthCheck(MicrosoftAzureCosmosSettings options, bool enabled) 43protected override void SetTracing(MicrosoftAzureCosmosSettings options, bool enabled) 46protected override void SetMetrics(MicrosoftAzureCosmosSettings options, bool enabled)