3 instantiations of MicrosoftAzureCosmosSettings
Aspire.Microsoft.Azure.Cosmos (1)
AspireMicrosoftAzureCosmosExtensions.cs (1)
231var settings = new MicrosoftAzureCosmosSettings();
Aspire.Microsoft.Azure.Cosmos.Tests (2)
ConfigurationTests.cs (2)
12=> Assert.Null(new MicrosoftAzureCosmosSettings().ConnectionString); 16=> Assert.False(new MicrosoftAzureCosmosSettings().DisableTracing);
31 references to MicrosoftAzureCosmosSettings
Aspire.Microsoft.Azure.Cosmos (26)
AspireMicrosoftAzureCosmosExtensions.cs (24)
28/// <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> 35Action<MicrosoftAzureCosmosSettings>? configureSettings = null, 38var settings = builder.GetSettings(connectionName, configureSettings); 49/// <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> 65Action<MicrosoftAzureCosmosSettings>? configureSettings = null, 68var settings = builder.GetSettings(connectionName, configureSettings); 87/// <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> 94Action<MicrosoftAzureCosmosSettings>? configureSettings = null, 99var settings = builder.GetSettings(name, configureSettings); 114/// <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> 130Action<MicrosoftAzureCosmosSettings>? configureSettings = null, 133var settings = builder.GetSettings(name, configureSettings); 152/// <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> 159Action<MicrosoftAzureCosmosSettings>? configureSettings = null, 162var settings = builder.GetSettings(connectionName, configureSettings); 175/// <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> 182Action<MicrosoftAzureCosmosSettings>? configureSettings = null, 185var settings = builder.GetSettings(name, configureSettings); 192private static void AddCosmosHealthCheck(this IHostApplicationBuilder builder, MicrosoftAzureCosmosSettings settings, object? serviceKey) 224private static MicrosoftAzureCosmosSettings GetSettings( 227Action<MicrosoftAzureCosmosSettings>? configureSettings 231var settings = new MicrosoftAzureCosmosSettings(); 256MicrosoftAzureCosmosSettings settings, 289internal static CosmosClient GetCosmosClient(string connectionName, MicrosoftAzureCosmosSettings settings, CosmosClientOptions clientOptions)
AssemblyInfo.cs (1)
7[assembly: ConfigurationSchema("Aspire:Microsoft:Azure:Cosmos", typeof(MicrosoftAzureCosmosSettings))]
CosmosDatabaseBuilder.cs (1)
17MicrosoftAzureCosmosSettings settings,
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)