Exemple #1
0
 public ChallengeSolutionDispatcher(
     IChallengesUnitOfWork unitOfWork,
     IIndex <ChallengeType, Lazy <IChallengeSolvingStrategy> > challengeSolvingStrategies)
 {
     this.unitOfWork = unitOfWork;
     this.challengeSolvingStrategies = challengeSolvingStrategies;
 }
 public TestCaseChallengeSolvingStrategy(
     IChallengesUnitOfWork unitOfWork,
     ICodeExecutor codeExecutor,
     IIdentityService identityService,
     CodeExecutionRequestBuilder codeExecutionRequestBuilder)
     : base(unitOfWork, identityService)
 {
     this.codeExecutor = codeExecutor;
     this.codeExecutionRequestBuilder = codeExecutionRequestBuilder;
 }
 public SaveChallengeHandler(IChallengesUnitOfWork unitOfWork, IMapper mapper,
                             IIndex <ChallengeType, IChallengeMapper> challengeMappers,
                             ITagService tagService, ICodeExecutor codeExecutor,
                             CodeExecutionRequestBuilder codeExecutionRequestBuilder)
 {
     this.unitOfWork                  = unitOfWork;
     this.mapper                      = mapper;
     this.challengeMappers            = challengeMappers;
     this.tagService                  = tagService;
     this.codeExecutor                = codeExecutor;
     this.codeExecutionRequestBuilder = codeExecutionRequestBuilder;
 }
 public ChallengesService(IChallengesUnitOfWork unitOfWork,
                          Lazy <IIdentityService> identityService,
                          Lazy <IChallengeSolutionDispatcher> challengeSolutionDispatcher,
                          IMapper mapper,
                          IIndex <ChallengeSearchType, Lazy <ISearchStrategy> > searchStrategies,
                          Lazy <SourceCodeTemplateCollector> sourceCodeTemplateCollector,
                          Lazy <SaveChallengeHandler> saveChallengeHandler)
 {
     this.unitOfWork                  = unitOfWork;
     this.identityService             = identityService;
     this.challengeSolutionDispatcher = challengeSolutionDispatcher;
     this.mapper                      = mapper;
     this.searchStrategies            = searchStrategies;
     this.sourceCodeTemplateCollector = sourceCodeTemplateCollector;
     this.saveChallengeHandler        = saveChallengeHandler;
 }
 public SectionSearchStrategy(IChallengesUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }
 public DifficultySearchStrategy(IChallengesUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }
 protected SearchStrategyBase(IChallengesUnitOfWork unitOfWork, IMapper mapper)
 {
     this.unitOfWork = unitOfWork;
     this.mapper     = mapper;
 }
 public CodeAnsweredChallengeMapper(IChallengesUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
 }
Exemple #9
0
 protected EnumSearchStrategy(IChallengesUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }
Exemple #10
0
 public TextChallengeSolvingStrategy(IChallengesUnitOfWork unitOfWork, IIdentityService identityService)
     : base(unitOfWork, identityService)
 {
 }
 public TagService(IChallengesUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
 }
Exemple #12
0
 protected ChallengeSolvingStrategyBase(IChallengesUnitOfWork unitOfWork, IIdentityService identityService)
 {
     this.unitOfWork      = unitOfWork;
     this.identityService = identityService;
 }
Exemple #13
0
 public TagsSearchStrategy(IChallengesUnitOfWork unitOfWork, IMapper mapper)
 {
     this.unitOfWork = unitOfWork;
     this.mapper     = mapper;
 }
 public SearchIndexService(IChallengesUnitOfWork challengesUnitOfWork, IMapper mapper)
 {
     this.challengesUnitOfWork = challengesUnitOfWork;
     this.mapper = mapper;
 }
 public LanguageSearchStrategy(IChallengesUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }