3 instantiations of MicrosoftAzureCosmosSettings
Aspire.Microsoft.Azure.Cosmos (1)
AspireMicrosoftAzureCosmosExtensions.cs (1)
231
var 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>
35
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
38
var
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>
65
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
68
var
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>
94
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
99
var
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>
130
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
133
var
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>
159
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
162
var
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>
182
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
185
var
settings = builder.GetSettings(name, configureSettings);
192
private static void AddCosmosHealthCheck(this IHostApplicationBuilder builder,
MicrosoftAzureCosmosSettings
settings, object? serviceKey)
224
private static
MicrosoftAzureCosmosSettings
GetSettings(
227
Action<
MicrosoftAzureCosmosSettings
>? configureSettings
231
var
settings = new MicrosoftAzureCosmosSettings();
256
MicrosoftAzureCosmosSettings
settings,
289
internal static CosmosClient GetCosmosClient(string connectionName,
MicrosoftAzureCosmosSettings
settings, CosmosClientOptions clientOptions)
AssemblyInfo.cs (1)
7
[assembly: ConfigurationSchema("Aspire:Microsoft:Azure:Cosmos", typeof(
MicrosoftAzureCosmosSettings
))]
CosmosDatabaseBuilder.cs (1)
17
MicrosoftAzureCosmosSettings
settings,
Aspire.Microsoft.Azure.Cosmos.Tests (5)
ConformanceTests.cs (5)
13
public class ConformanceTests : ConformanceTests<CosmosClient,
MicrosoftAzureCosmosSettings
>
28
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
MicrosoftAzureCosmosSettings
>? configure = null, string? key = null)
40
protected override void SetHealthCheck(
MicrosoftAzureCosmosSettings
options, bool enabled)
43
protected override void SetTracing(
MicrosoftAzureCosmosSettings
options, bool enabled)
46
protected override void SetMetrics(
MicrosoftAzureCosmosSettings
options, bool enabled)