31 lines
1.7 KiB
C#
31 lines
1.7 KiB
C#
using Microsoft.Extensions.DependencyInjection;
|
|
using Tiku.Application.Learning;
|
|
using Tiku.Infrastructure.Learning;
|
|
|
|
namespace Tiku.Infrastructure;
|
|
|
|
internal static class LearningModule
|
|
{
|
|
internal static IServiceCollection AddLearningModule(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<LearningServiceDependencies>();
|
|
services.AddScoped<ILearningAccessService, LearningAccessService>();
|
|
services.AddScoped<IEffectiveLearningAccessService, EffectiveLearningAccessService>();
|
|
services.AddScoped<IStudentLearningTargetService, StudentLearningTargetService>();
|
|
services.AddScoped<IV2LearningAccessAdministrationService, V2LearningAccessAdministrationService>();
|
|
services.AddScoped<IStudentLearningCatalogService, StudentLearningCatalogService>();
|
|
services.AddScoped<IV2PracticeSessionService, V2PracticeSessionService>();
|
|
services.AddScoped<ILearningStrongRevocationService, LearningStrongRevocationService>();
|
|
services.AddScoped<IPlatformLearningAccessAdministrationService,
|
|
PlatformLearningAccessAdministrationService>();
|
|
services.AddScoped<ILearningAnalyticsService, LearningAnalyticsService>();
|
|
services.AddScoped<IAnsweringService, AnsweringService>();
|
|
services.AddScoped<IQuestionReviewService, QuestionReviewService>();
|
|
services.AddScoped<IWordLearningService, WordLearningService>();
|
|
services.AddScoped<IPracticeSessionService, PracticeSessionService>();
|
|
services.AddScoped<IPracticeReportService, PracticeReportService>();
|
|
services.AddScoped<ILearningOutboxProcessor, LearningOutboxProcessor>();
|
|
return services;
|
|
}
|
|
}
|