CosmosDatabaseBuilder
Classsealednet10.0
Represents a builder that can be used to register multiple container instances against the same Cosmos database connection.
namespace Aspire.Microsoft.Azure.Cosmos;
public sealed class CosmosDatabaseBuilder{ // ...}Constructors1
Section titled Constructors Represents a builder that can be used to register multiple container instances against the same Cosmos database connection.
Methods1
Section titled Methods Register a
Cosmos.Container against the database managed with CosmosDatabaseBuilder as a keyed singleton.