Ejemplo n.º 1
0
 public ConfigurationService(CtfDbContext dbContext, IMemoryCache cache)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _cache     = cache ?? throw new ArgumentNullException(nameof(cache));
 }
Ejemplo n.º 2
0
 public MoodleService(IMoodleGradebook moodleGradebook, CtfDbContext dbContext, IConfigurationService configurationService)
 {
     _moodleGradebook      = moodleGradebook ?? throw new ArgumentNullException(nameof(moodleGradebook));
     _dbContext            = dbContext;
     _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService));
 }
Ejemplo n.º 3
0
 public CsvService(CtfDbContext dbContext, IConfigurationService configurationService)
 {
     _dbContext            = dbContext;
     _configurationService = configurationService ?? throw new ArgumentNullException(nameof(configurationService));
 }
Ejemplo n.º 4
0
 public LabService(CtfDbContext dbContext, IMapper mapper)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _mapper    = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Ejemplo n.º 5
0
 public DumpService(CtfDbContext dbContext)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
 }