4 instantiations of MongoDBDatabaseResource
Aspire.Hosting.MongoDB (1)
MongoDBBuilderExtensions.cs (1)
105var mongoDBDatabase = new MongoDBDatabaseResource(name, databaseName, builder.Resource);
Aspire.Hosting.MongoDB.Tests (3)
MongoDBPublicApiTests.cs (3)
161var action = () => new MongoDBDatabaseResource(name, databaseName, parent); 174var action = () => new MongoDBDatabaseResource(name, databaseName, parent); 187var action = () => new MongoDBDatabaseResource(name, databaseName, parent);
4 references to MongoDBDatabaseResource
Aspire.Hosting.MongoDB (2)
MongoDBBuilderExtensions.cs (2)
96public static IResourceBuilder<MongoDBDatabaseResource> AddDatabase(this IResourceBuilder<MongoDBServerResource> builder, [ResourceName] string name, string? databaseName = null) 105var mongoDBDatabase = new MongoDBDatabaseResource(name, databaseName, builder.Resource);
Aspire.Hosting.MongoDB.Tests (2)
AddMongoDBTests.cs (2)
85var dbResource = Assert.Single(appModel.Resources.OfType<MongoDBDatabaseResource>());