2 references to CreateMongoClient
Aspire.MongoDB.Driver (2)
AspireMongoDBDriverExtensions.cs (2)
113
.AddSingleton<IMongoClient>(sp => sp.
CreateMongoClient
(connectionName, mongoDbSettings, configureClientSettings));
119
.AddKeyedSingleton<IMongoClient>(serviceKey, (sp, _) => sp.
CreateMongoClient
(connectionName, mongoDbSettings, configureClientSettings));