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