33 lines
1.4 KiB
C#
33 lines
1.4 KiB
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using SessionCompanion.Services.Interfaces;
|
|
using SessionCompanion.Services.Services;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SessionCompanion.Configurations
|
|
{
|
|
public static class ServiceConfiguration
|
|
{
|
|
public static IServiceCollection AddServices(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<IAlignmentService, AlignmentService>();
|
|
services.AddScoped<IBackgroundService, BackgroundServices>();
|
|
services.AddScoped<IBiographyService, BiographyService>();
|
|
services.AddScoped<ICharacterService, CharacterService>();
|
|
services.AddScoped<ICharismaService, CharismaService>();
|
|
services.AddScoped<IClassService, ClassService>();
|
|
services.AddScoped<IConstitutionService, ConstitutionService>();
|
|
services.AddScoped<IDexterityService, DexterityService>();
|
|
services.AddScoped<IIntelligenceService, IntelligenceService>();
|
|
services.AddScoped<IRaceService, RaceService>();
|
|
services.AddScoped<IStatisticsService, StatisticsService>();
|
|
services.AddScoped<IStrengthService, StrengthService>();
|
|
services.AddScoped<IUserService, UserService>();
|
|
services.AddScoped<IWisdomService, WisdomService>();
|
|
return services;
|
|
}
|
|
}
|
|
}
|