3 instantiations of MicrosoftAzureCosmosSettings
Aspire.Microsoft.Azure.Cosmos (1)
AspireMicrosoftAzureCosmosExtensions.cs (1)
209
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);
30 references to MicrosoftAzureCosmosSettings
Aspire.Microsoft.Azure.Cosmos (25)
AspireMicrosoftAzureCosmosExtensions.cs (23)
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>
33
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
36
var
settings = builder.GetSettings(connectionName, configureSettings);
46
/// <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>
62
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
65
var
settings = builder.GetSettings(connectionName, configureSettings);
84
/// <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>
91
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
96
var
settings = builder.GetSettings(name, configureSettings);
110
/// <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>
126
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
129
var
settings = builder.GetSettings(name, configureSettings);
148
/// <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>
155
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
158
var
settings = builder.GetSettings(connectionName, configureSettings);
171
/// <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>
178
Action<
MicrosoftAzureCosmosSettings
>? configureSettings = null,
181
var
settings = builder.GetSettings(name, configureSettings);
202
private static
MicrosoftAzureCosmosSettings
GetSettings(
205
Action<
MicrosoftAzureCosmosSettings
>? configureSettings
209
var
settings = new MicrosoftAzureCosmosSettings();
234
MicrosoftAzureCosmosSettings
settings,
267
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)