mirror of
https://github.com/bitwarden/server.git
synced 2025-06-17 09:33:51 -05:00
22 lines
933 B
C#
22 lines
933 B
C#
using Bit.Core.Tools.SendFeatures.Commands;
|
|
using Bit.Core.Tools.SendFeatures.Commands.Interfaces;
|
|
using Bit.Core.Tools.SendFeatures.Queries;
|
|
using Bit.Core.Tools.SendFeatures.Queries.Interfaces;
|
|
using Bit.Core.Tools.Services;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Bit.Core.Tools.SendFeatures;
|
|
|
|
public static class SendServiceCollectionExtension
|
|
{
|
|
public static void AddSendServices(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<INonAnonymousSendCommand, NonAnonymousSendCommand>();
|
|
services.AddScoped<IAnonymousSendCommand, AnonymousSendCommand>();
|
|
services.AddScoped<ISendAuthorizationService, SendAuthorizationService>();
|
|
services.AddScoped<ISendValidationService, SendValidationService>();
|
|
services.AddScoped<ISendCoreHelperService, SendCoreHelperService>();
|
|
services.AddScoped<ISendAuthenticationQuery, SendAuthenticationQuery>();
|
|
}
|
|
}
|