public ParticipantsBusinessService(
     IParticipantsDataService participantsData,
     IContestsDataService contestsData)
 {
     this.participantsData = participantsData;
     this.contestsData     = contestsData;
 }
Example #2
0
 public ParticipantScoresDataService(
     IEfGenericRepository <ParticipantScore> participantScores,
     IParticipantsDataService participantsData)
 {
     this.participantScores = participantScores;
     this.participantsData  = participantsData;
 }
 public ResultsController(
     IContestsDataService contestsData,
     IParticipantsDataService participantsData)
 {
     this.contestsData     = contestsData;
     this.participantsData = participantsData;
 }
 public ContestsExportController(
     IOjsData data,
     IContestsDataService contestsData,
     IParticipantsDataService participantsData)
     : base(data)
 {
     this.contestsData     = contestsData;
     this.participantsData = participantsData;
 }
Example #5
0
 public ProfileController(
     IOjsData data,
     IParticipantsDataService participantsData,
     IUsersDataService usersData)
     : base(data)
 {
     this.participantsData = participantsData;
     this.usersData        = usersData;
 }
 public ParticipantsController(
     IOjsData data,
     IContestsDataService contestsData,
     IUsersDataService usersData,
     IParticipantsDataService participantsData)
     : base(data)
 {
     this.contestsData     = contestsData;
     this.usersData        = usersData;
     this.participantsData = participantsData;
 }
Example #7
0
 public ResultsController(
     IOjsData data,
     IContestsDataService contestsData,
     IParticipantsDataService participantsData,
     IParticipantScoresBusinessService participantScoresBusiness)
 {
     this.data                      = data;
     this.contestsData              = contestsData;
     this.participantsData          = participantsData;
     this.participantScoresBusiness = participantScoresBusiness;
 }
Example #8
0
 public ResultsController(
     IOjsData data,
     IContestsDataService contestsData,
     IParticipantsDataService participantsData,
     IParticipantScoresDataService participantScoresData)
     : base(data)
 {
     this.contestsData          = contestsData;
     this.participantsData      = participantsData;
     this.participantScoresData = participantScoresData;
 }
 public TestsController(
     IOjsData data,
     ITestsDataService testsData,
     IParticipantsDataService participantsData,
     ISubmissionsDataService submissionsData)
     : base(data)
 {
     this.testsData        = testsData;
     this.participantsData = participantsData;
     this.submissionsData  = submissionsData;
 }
Example #10
0
 public AntiCheatController(
     IOjsData data,
     IPlagiarismDetectorFactory plagiarismDetectorFactory,
     ISimilarityFinder similarityFinder,
     IContestsDataService contestsData,
     IParticipantsDataService participantsData)
     : base(data)
 {
     this.plagiarismDetectorFactory = plagiarismDetectorFactory;
     this.similarityFinder          = similarityFinder;
     this.contestsData     = contestsData;
     this.participantsData = participantsData;
 }
Example #11
0
 public TempController(
     IOjsData data,
     IHangfireBackgroundJobService backgroundJobs,
     IProblemGroupsDataService problemGroupsData,
     IParticipantsDataService participantsData,
     IHttpRequesterService httpRequester)
     : base(data)
 {
     this.backgroundJobs    = backgroundJobs;
     this.problemGroupsData = problemGroupsData;
     this.participantsData  = participantsData;
     this.httpRequester     = httpRequester;
 }
 public ContestsBusinessService(
     IEfDeletableEntityRepository <Contest> contests,
     IContestsDataService contestsData,
     IParticipantsDataService participantsData,
     IParticipantScoresDataService participantScoresData,
     IExamGroupsDataService examGroupsData)
 {
     this.contests              = contests;
     this.contestsData          = contestsData;
     this.participantsData      = participantsData;
     this.participantScoresData = participantScoresData;
     this.examGroupsData        = examGroupsData;
 }
 public OjsSubmissionProcessingStrategy(
     ISubmissionsDataService submissionsData,
     ITestRunsDataService testRunsData,
     IParticipantsDataService participantsData,
     IParticipantScoresDataService participantScoresData,
     ISubmissionsForProcessingDataService submissionsForProcessingData)
 {
     this.submissionsData              = submissionsData;
     this.testRunsData                 = testRunsData;
     this.participantsData             = participantsData;
     this.participantScoresData        = participantScoresData;
     this.submissionsForProcessingData = submissionsForProcessingData;
 }
 public SubmissionsController(
     IOjsData data,
     ISubmissionsForProcessingDataService submissionsForProcessingData,
     IParticipantScoresBusinessService participantScoresBusiness,
     IParticipantScoresDataService participantScoresData,
     IParticipantsDataService participantsData,
     ITestRunsDataService testRunsData)
     : base(data)
 {
     this.submissionsForProcessingData = submissionsForProcessingData;
     this.participantScoresBusiness    = participantScoresBusiness;
     this.participantScoresData        = participantScoresData;
     this.participantsData             = participantsData;
     this.testRunsData = testRunsData;
 }
 public ContestsController(
     IOjsData data,
     IContestsDataService contestsData,
     IContestCategoriesDataService contestCategoriesData,
     IParticipantsDataService participantsData,
     IIpsDataService ipsData,
     IContestsBusinessService contestsBusiness,
     IParticipantsBusinessService participantsBusiness)
     : base(data)
 {
     this.contestsData          = contestsData;
     this.contestCategoriesData = contestCategoriesData;
     this.participantsData      = participantsData;
     this.ipsData              = ipsData;
     this.contestsBusiness     = contestsBusiness;
     this.participantsBusiness = participantsBusiness;
 }
Example #16
0
 public CompeteController(
     IOjsData data,
     ISubmissionsForProcessingDataService submissionsForProcessingData,
     IParticipantsBusinessService participantsBusiness,
     IParticipantsDataService participantsData,
     IContestsBusinessService contestsBusiness,
     IContestsDataService contestsData,
     IProblemsDataService problemsData)
     : base(data)
 {
     this.submissionsForProcessingData = submissionsForProcessingData;
     this.participantsBusiness         = participantsBusiness;
     this.participantsData             = participantsData;
     this.contestsBusiness             = contestsBusiness;
     this.contestsData = contestsData;
     this.problemsData = problemsData;
 }