BotSharp/src/Plugins/BotSharp.Plugin.MongoStorage/MongoStoragePlugin.cs
2023-09-01 17:33:36 -05:00

18 lines
526 B
C#

using BotSharp.Plugin.MongoStorage.Repository;
namespace BotSharp.Plugin.MongoStorage;
public class MongoStoragePlugin : IBotSharpPlugin
{
public void RegisterDI(IServiceCollection services, IConfiguration config)
{
//services.AddScoped((IServiceProvider x) =>
//{
// var dbSettings = x.GetRequiredService<BotSharpDatabaseSettings>();
// return new MongoDbContext(dbSettings.MongoDb);
//});
//services.AddScoped<IBotSharpRepository, MongoRepository>();
}
}