示例#1
0
 public ContestService(CachedUserManager <UserInfo> userManager,
                       IGroupService groupService,
                       WebHostDbContext dbContext)
 {
     this.userManager  = userManager;
     this.groupService = groupService;
     this.dbContext    = dbContext;
 }
示例#2
0
 public ProblemService(
     CachedUserManager <UserInfo> userManager,
     WebHostDbContext dbContext,
     IContestService contestService,
     IGroupService groupService)
 {
     this.userManager    = userManager;
     this.dbContext      = dbContext;
     this.contestService = contestService;
     this.groupService   = groupService;
 }
示例#3
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;
 }
示例#4
0
 public GroupService(WebHostDbContext dbContext, CachedUserManager <UserInfo> userManager)
 {
     this.dbContext   = dbContext;
     this.userManager = userManager;
 }