public AdminProblemService(IServiceProvider provider) : base(provider) { _options = provider.GetRequiredService <IOptions <ApplicationConfig> >(); _queue = provider.GetRequiredService <BackgroundTaskQueue <JobRequestMessage> >(); _statistics = provider.GetRequiredService <ProblemStatisticsService>(); }
public ProblemService(IServiceProvider provider) : base(provider) { _statisticsService = provider.GetRequiredService <ProblemStatisticsService>(); }
public AdminContestService(IServiceProvider provider) : base(provider) { _problemStatisticsService = provider.GetRequiredService <ProblemStatisticsService>(); }
public AdminSubmissionService(IServiceProvider provider) : base(provider) { _queue = provider.GetRequiredService <BackgroundTaskQueue <JobRequestMessage> >(); _statistics = provider.GetRequiredService <ProblemStatisticsService>(); }