1 instantiation of CosmosDatabaseBuilder
Aspire.Microsoft.Azure.Cosmos (1)
AspireMicrosoftAzureCosmosExtensions.cs (1)
274var 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. 126public static CosmosDatabaseBuilder AddAzureCosmosDatabase( 135/// and returns a <see cref="CosmosDatabaseBuilder"/> to support chaining multiple container registrations against the same database. 143public static CosmosDatabaseBuilder AddKeyedAzureCosmosDatabase( 266private static CosmosDatabaseBuilder AddCosmosDatabase( 274var cosmosDatabaseBuilder = new CosmosDatabaseBuilder(
CosmosDatabaseBuilder.cs (6)
21/// Initializes a new instance of the <see cref="CosmosDatabaseBuilder"/> class. 52internal CosmosDatabaseBuilder AddDatabase() 68internal 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> 90public CosmosDatabaseBuilder AddKeyedContainer(string name)
Aspire.Microsoft.Azure.Cosmos.Tests (2)
AspireMicrosoftAzureCosmosExtensionsTests.cs (2)
487var databaseBuilder = builder.AddAzureCosmosDatabase("cosmos"); 669var databaseBuilder = builder.AddAzureCosmosDatabase("cosmos",