< Summary

Information
Class: Syki.Daemon.Configs.SykiTasksConfigs
Assembly: Daemon
File(s): /home/runner/work/syki/syki/Daemon/Configs/SykiTasksConfigs.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 10
Uncovered lines: 0
Coverable lines: 10
Total lines: 22
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
AddSykiTasksConfigs(...)100%11100%

File(s)

/home/runner/work/syki/syki/Daemon/Configs/SykiTasksConfigs.cs

#LineLine coverage
 1using Syki.Daemon.Tasks;
 2using Syki.Daemon.Settings;
 3
 4namespace Syki.Daemon.Configs;
 5
 6public static class SykiTasksConfigs
 7{
 8    public static void AddSykiTasksConfigs(this IServiceCollection services)
 9    {
 110        services.AddSingleton<EmailSettings>();
 111        services.AddSingleton<DatabaseSettings>();
 112        services.AddSingleton<HangfireSettings>();
 13
 114        services.AddTransient<SykiTasksProcessor>();
 15
 116        services.AddTransient<SeedInstitutionDataHandler>();
 117        services.AddTransient<LinkOldNotificationsHandler>();
 118        services.AddTransient<SendResetPasswordEmailHandler>();
 119        services.AddTransient<SendUserRegisterEmailConfirmationHandler>();
 120        services.AddTransient<CreateNewExamGradeNoteNotificationHandler>();
 121    }
 22}