1 instantiation of MongoDBSettings
Aspire.MongoDB.Driver (1)
AspireMongoDBDriverExtensions.cs (1)
216var settings = new MongoDBSettings();
20 references to MongoDBSettings
Aspire.MongoDB.Driver (15)
AspireMongoDBDriverExtensions.cs (14)
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, 198var aspireVersion = typeof(MongoDBSettings).Assembly.GetName().Version?.ToString(); 211private static MongoDBSettings GetMongoDBSettings( 214Action<MongoDBSettings>? configureSettings) 216var settings = new MongoDBSettings(); 234this 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)