Example #1
0
 public ContestService(CachedUserManager <UserInfo> userManager,
                       IGroupService groupService,
                       WebHostDbContext dbContext)
 {
     this.userManager  = userManager;
     this.groupService = groupService;
     this.dbContext    = dbContext;
 }
Example #2
0
 public JudgeService(WebHostDbContext dbContext,
                     IProblemService problemService,
                     ILanguageService languageService,
                     IMessageQueueService messageQueueService)
 {
     this.dbContext           = dbContext;
     this.problemService      = problemService;
     this.languageService     = languageService;
     this.messageQueueService = messageQueueService;
 }
Example #3
0
 public ProblemService(
     UserManager <UserInfo> userManager,
     WebHostDbContext dbContext,
     IContestService contestService,
     IGroupService groupService)
 {
     this.userManager    = userManager;
     this.dbContext      = dbContext;
     this.contestService = contestService;
     this.groupService   = groupService;
 }
Example #4
0
 public JudgeController(IJudgeService judgeService, IProblemService problemService,
                        IContestService contestService, IGroupService groupService, CachedUserManager <UserInfo> userManager,
                        ILanguageService languageService, WebHostDbContext dbContext)
 {
     this.judgeService    = judgeService;
     this.problemService  = problemService;
     this.contestService  = contestService;
     this.groupService    = groupService;
     this.userManager     = userManager;
     this.languageService = languageService;
     this.dbContext       = dbContext;
 }
Example #5
0
 public AccountController(
     UserManager <UserInfo> userManager,
     SignInManager <UserInfo> signInManager,
     IJudgeService judgeService,
     WebHostDbContext dbContext,
     IEmailSender emailSender)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.judgeService  = judgeService;
     this.emailSender   = emailSender;
 }
Example #6
0
 public AccountController(
     UserManager <UserInfo> userManager,
     SignInManager <UserInfo> signInManager,
     IJudgeService judgeService,
     WebHostDbContext dbContext,
     IEmailSender emailSender)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.judgeService  = judgeService;
     this.emailSender   = emailSender;
     dbContext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
 }
Example #7
0
 public JudgeService(WebHostDbContext dbContext,
                     IProblemService problemService,
                     ILanguageService languageService,
                     IMessageQueueService messageQueueService,
                     IContestService contestService,
                     CachedUserManager <UserInfo> userManager)
 {
     this.dbContext           = dbContext;
     this.problemService      = problemService;
     this.languageService     = languageService;
     this.messageQueueService = messageQueueService;
     this.contestService      = contestService;
     this.userManager         = userManager;
 }
Example #8
0
 public ProblemController(
     UserManager <UserInfo> userManager,
     IProblemService problemService,
     IContestService contestService,
     IJudgeService judgeService,
     ILanguageService languageService,
     IFileService fileService,
     IVoteService voteService,
     WebHostDbContext dbContext)
 {
     this.userManager     = userManager;
     this.problemService  = problemService;
     this.contestService  = contestService;
     this.judgeService    = judgeService;
     this.languageService = languageService;
     this.fileService     = fileService;
     this.voteService     = voteService;
     this.dbContext       = dbContext;
 }
Example #9
0
 public VoteService(IProblemService problemService, IContestService contestService, WebHostDbContext dbContext)
 {
     this.problemService = problemService;
     this.contestService = contestService;
     this.dbContext      = dbContext;
 }
Example #10
0
 public GroupService(WebHostDbContext dbContext, CachedUserManager <UserInfo> userManager)
 {
     this.dbContext   = dbContext;
     this.userManager = userManager;
 }