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