public RankController(CachedUserManager <UserInfo> userManager, IJudgeService judgeService, IContestService contestService, IGroupService groupService) { this.userManager = userManager; this.judgeService = judgeService; this.contestService = contestService; this.groupService = groupService; }
/// <summary> /// 依赖注入 /// </summary> public QuestionController( IJudgeService judgeService, ISelectService selectService) { _selectService = selectService; _judgeService = judgeService; }
public HomeController(UserManager <UserInfo> userManager, SignInManager <UserInfo> signInManager, IJudgeService judgeService) { this.userManager = userManager; this.signInManager = signInManager; this.judgeService = judgeService; }
/// <summary> /// 依赖注入 /// </summary> public StuanswerdetailService( IRepository <TbStuanswerdetail> answerRepository, IRepository <TbExamquestion> examquestionRepository, ISelectService selectService, IJudgeService judgeService) { _answerRepository = answerRepository; _examquestionRepository = examquestionRepository; _selectService = selectService; _judgeService = judgeService; }
public JudgeController(IJudgeService judgeService, IProblemService problemService, IContestService contestService, IGroupService groupService, UserManager <UserInfo> userManager, ILanguageService languageService) { this.judgeService = judgeService; this.problemService = problemService; this.contestService = contestService; this.groupService = groupService; this.userManager = userManager; this.languageService = languageService; }
public Court(IGameControls gameControls, IPhysicsService physicsService, IJudgeService judgeService) : base(Locator.Get <IContentManagerService>().GetTexture("court"), Vector2.Zero, Color.White) { _gameControls = gameControls; _physicsService = physicsService; _judgeService = judgeService; _leftPaddle = new LeftPaddle(gameControls, physicsService); _rightPaddle = new RightPaddle(gameControls, physicsService); _gameBall = new Ball(physicsService); Rectangle = new Rectangle(this.Position.ToPoint(), new Point(Locator.ScreenBounds.Width, Locator.ScreenBounds.Height)); }
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; }
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; }
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; }
/// <summary> /// 依赖注入 /// </summary> public ExamController( IExamService examService, IQuestionService questionService, IStuanswerdetailService stuanswerdetailService, ISelectService selectService, IJudgeService judgeService, IStuscoreService stuscoreService) { _examService = examService; _questionService = questionService; _stuanswerdetailService = stuanswerdetailService; _selectService = selectService; _judgeService = judgeService; _stuscoreService = stuscoreService; }
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; }
public ScheduleService(IJudgeService judgeService) { this.judgeService = judgeService; }
public StatisticsController(IJudgeService judgeService, CachedUserManager <UserInfo> userManager) { this.judgeService = judgeService; this.userManager = userManager; }
public JudgeController(IJudgeService judgeService) { _judgeService = judgeService; }
public CheckService(IJudgeService service, IUnitOfWorkFactory unitOfWorkFactory) { _service = service; _unitOfWorkFactory = unitOfWorkFactory; }
public JudgesController(IJudgeService judgeService, IMapper mapper) { _judgeService = judgeService; _mapper = mapper; }
public void Setup() { this.judgeService = Substitute.For <IJudgeService>(); this.service = new ScheduleService(this.judgeService); }
public CheckService(IJudgeService service, IUnitOfWorkFactory unitOfWorkFactory, ILogger logger) { _service = service; _unitOfWorkFactory = unitOfWorkFactory; this.logger = logger; }
public WinnersController(IJudgeService judgeService) { _judgeService = judgeService ?? throw new ArgumentNullException("judgeService"); }