Files
git.stella-ops.org/src/StellaOps.Vexer.Storage.Mongo/ServiceCollectionExtensions.cs
root 0d8233dfb4
Some checks failed
Build Test Deploy / authority-container (push) Has been cancelled
Build Test Deploy / docs (push) Has been cancelled
Build Test Deploy / deploy (push) Has been cancelled
Build Test Deploy / build-test (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
up
2025-10-15 19:20:13 +03:00

14 lines
416 B
C#

using Microsoft.Extensions.DependencyInjection;
namespace StellaOps.Vexer.Storage.Mongo;
public static class VexMongoServiceCollectionExtensions
{
public static IServiceCollection AddVexerMongoStorage(this IServiceCollection services)
{
services.AddSingleton<IVexRawStore, MongoVexRawStore>();
services.AddSingleton<IVexExportStore, MongoVexExportStore>();
return services;
}
}