1 instantiation of CosmosDatabaseBuilder
Aspire.Microsoft.Azure.Cosmos (1)
AspireMicrosoftAzureCosmosExtensions.cs (1)
274
var cosmosDatabaseBuilder = new
CosmosDatabaseBuilder
(
18 references to CosmosDatabaseBuilder
Aspire.Microsoft.Azure.Cosmos (16)
AspireMicrosoftAzureCosmosExtensions.cs (10)
53
/// <see cref="
CosmosDatabaseBuilder
"/> to register the database and then call
54
/// <see cref="
CosmosDatabaseBuilder
.AddKeyedContainer(string)"/> for each container.
100
/// <see cref="
CosmosDatabaseBuilder
"/> to register the database and then call
101
/// <see cref="
CosmosDatabaseBuilder
.AddKeyedContainer(string)"/> for each container.
118
/// and returns a <see cref="
CosmosDatabaseBuilder
"/> to support chaining multiple container registrations against the same database.
126
public static
CosmosDatabaseBuilder
AddAzureCosmosDatabase(
135
/// and returns a <see cref="
CosmosDatabaseBuilder
"/> to support chaining multiple container registrations against the same database.
143
public static
CosmosDatabaseBuilder
AddKeyedAzureCosmosDatabase(
266
private static
CosmosDatabaseBuilder
AddCosmosDatabase(
274
var
cosmosDatabaseBuilder = new CosmosDatabaseBuilder(
CosmosDatabaseBuilder.cs (6)
21
/// Initializes a new instance of the <see cref="
CosmosDatabaseBuilder
"/> class.
52
internal
CosmosDatabaseBuilder
AddDatabase()
68
internal
CosmosDatabaseBuilder
AddKeyedDatabase()
85
/// Register a <see cref="Container"/> against the database managed with <see cref="
CosmosDatabaseBuilder
"/> as a
89
/// <returns>A <see cref="
CosmosDatabaseBuilder
"/> that can be used for further chaining.</returns>
90
public
CosmosDatabaseBuilder
AddKeyedContainer(string name)
Aspire.Microsoft.Azure.Cosmos.Tests (2)
AspireMicrosoftAzureCosmosExtensionsTests.cs (2)
487
var
databaseBuilder = builder.AddAzureCosmosDatabase("cosmos");
669
var
databaseBuilder = builder.AddAzureCosmosDatabase("cosmos",