示例#1
0
 public FileService(IHostingEnvironment hosting, VoidJudgeContext context, ISettingsService settingsService)
 {
     _hosting         = hosting;
     _context         = context;
     _settingsService = settingsService;
     GetSettings();
 }
示例#2
0
 public UserService(VoidJudgeContext context, PasswordHasher <UserModel> passwordHasher, IAuthService authService, IMapper mapper)
 {
     _context        = context;
     _passwordHasher = passwordHasher;
     _authService    = authService;
     _mapper         = mapper;
 }
示例#3
0
 public SettingsService(VoidJudgeContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#4
0
 public ProblemService(VoidJudgeContext context, IMapper mapper, IFileService fileService)
 {
     _context     = context;
     _mapper      = mapper;
     _fileService = fileService;
 }
示例#5
0
 public SubmissionService(VoidJudgeContext context, IMapper mapper, IFileService fileService)
 {
     _context     = context;
     _mapper      = mapper;
     _fileService = fileService;
 }
示例#6
0
 public StudentService(VoidJudgeContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
示例#7
0
 public AuthService(IConfiguration configuration, VoidJudgeContext context, PasswordHasher <UserModel> passwordHasher)
 {
     _configuration  = configuration;
     _context        = context;
     _passwordHasher = passwordHasher;
 }