1 instantiation of MongoDBSettings
Aspire.MongoDB.Driver (1)
AspireMongoDBDriverExtensions.cs (1)
206var settings = new MongoDBSettings();
19 references to MongoDBSettings
Aspire.MongoDB.Driver (14)
AspireMongoDBDriverExtensions.cs (13)
31/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="MongoDBSettings.ConnectionString"/> is not provided.</exception> 35Action<MongoDBSettings>? configureSettings = null, 53/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="MongoDBSettings.ConnectionString"/> is not provided.</exception> 57Action<MongoDBSettings>? configureSettings = null, 72Action<MongoDBSettings>? configureSettings, 79var settings = builder.GetMongoDBSettings( 104MongoDBSettings mongoDbSettings, 162MongoDBSettings settings) 182MongoDBSettings mongoDbSettings, 201private static MongoDBSettings GetMongoDBSettings( 204Action<MongoDBSettings>? configureSettings) 206var settings = new MongoDBSettings(); 224this MongoDBSettings settings,
AssemblyInfo.cs (1)
7[assembly: ConfigurationSchema("Aspire:MongoDB:Driver", typeof(MongoDBSettings))]
Aspire.MongoDB.Driver.Tests (5)
ConformanceTests.cs (5)
14public class ConformanceTests : ConformanceTests<IMongoClient, MongoDBSettings>, IClassFixture<MongoDbContainerFixture> 75protected override void RegisterComponent(HostApplicationBuilder builder, Action<MongoDBSettings>? configure = null, string? key = null) 87protected override void SetHealthCheck(MongoDBSettings options, bool enabled) 93protected override void SetMetrics(MongoDBSettings options, bool enabled) => throw new NotImplementedException(); 95protected override void SetTracing(MongoDBSettings options, bool enabled)