Exemplo n.º 1
0
 public ContestService(CachedUserManager <UserInfo> userManager,
                       IGroupService groupService,
                       WebHostDbContext dbContext)
 {
     this.userManager  = userManager;
     this.groupService = groupService;
     this.dbContext    = dbContext;
 }
Exemplo n.º 2
0
 public JudgeService(WebHostDbContext dbContext,
                     IProblemService problemService,
                     ILanguageService languageService,
                     IMessageQueueService messageQueueService)
 {
     this.dbContext           = dbContext;
     this.problemService      = problemService;
     this.languageService     = languageService;
     this.messageQueueService = messageQueueService;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 9
0
 public VoteService(IProblemService problemService, IContestService contestService, WebHostDbContext dbContext)
 {
     this.problemService = problemService;
     this.contestService = contestService;
     this.dbContext      = dbContext;
 }
Exemplo n.º 10
0
 public GroupService(WebHostDbContext dbContext, CachedUserManager <UserInfo> userManager)
 {
     this.dbContext   = dbContext;
     this.userManager = userManager;
 }