Esempio n. 1
0
 public ResourcesController(
     IOjsData data,
     IProblemsDataService problemsData,
     IProblemResourcesDataService problemResourcesData)
     : base(data)
 {
     this.problemsData         = problemsData;
     this.problemResourcesData = problemResourcesData;
 }
 public SubmissionsController(
     IOjsData data,
     ISubmissionsDataService submissionsData,
     IProblemsDataService problemsData,
     IContestsDataService contestsData)
     : base(data)
 {
     this.submissionsData = submissionsData;
     this.problemsData    = problemsData;
     this.contestsData    = contestsData;
 }
 public KendoRemoteDataController(
     IOjsData data,
     IUsersDataService usersData,
     IContestsDataService contestsData,
     IProblemsDataService problemsData,
     IProblemGroupsDataService problemGroupsData)
     : base(data)
 {
     this.usersData         = usersData;
     this.contestsData      = contestsData;
     this.problemsData      = problemsData;
     this.problemGroupsData = problemGroupsData;
 }
Esempio n. 4
0
 public ProblemsController(
     IOjsData data,
     ISubmissionsForProcessingDataService submissionsForProcessingData,
     IParticipantScoresDataService participantScoresData,
     IContestsDataService contestsData,
     IProblemsDataService problemsData)
     : base(data)
 {
     this.submissionsForProcessingData = submissionsForProcessingData;
     this.participantScoresData        = participantScoresData;
     this.contestsData = contestsData;
     this.problemsData = problemsData;
 }
Esempio n. 5
0
 public ContestsController(
     IOjsData data,
     IContestsDataService contestsData,
     IProblemsDataService problemsData,
     ICacheItemsProviderService cacheItems,
     IContestsBusinessService contestsBusiness)
     : base(data)
 {
     this.contestsData     = contestsData;
     this.problemsData     = problemsData;
     this.cacheItems       = cacheItems;
     this.contestsBusiness = contestsBusiness;
 }
Esempio n. 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TestsController"/> class.
 /// </summary>
 public TestsController(
     IOjsData data,
     IProblemsDataService problemsData,
     ISubmissionsDataService submissionsData,
     ITestRunsDataService testRunsData,
     ITestsDataService testsData,
     IProblemsBusinessService problemsBusiness,
     ISubmissionsBusinessService submissionsBusiness)
     : base(data)
 {
     this.problemsData        = problemsData;
     this.submissionsData     = submissionsData;
     this.testRunsData        = testRunsData;
     this.testsData           = testsData;
     this.problemsBusiness    = problemsBusiness;
     this.submissionsBusiness = submissionsBusiness;
 }
Esempio n. 7
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;
 }
 public ProblemsController(
     IOjsData data,
     IContestsDataService contestsData,
     ICheckersDataService checkersData,
     IProblemsDataService problemsData,
     IProblemGroupsDataService problemGroupsData,
     IProblemResourcesDataService problemResourcesData,
     ISubmissionsDataService submissionsData,
     ISubmissionTypesDataService submissionTypesData,
     IProblemsBusinessService problemsBusiness)
     : base(data)
 {
     this.contestsData         = contestsData;
     this.checkersData         = checkersData;
     this.problemsData         = problemsData;
     this.problemGroupsData    = problemGroupsData;
     this.problemResourcesData = problemResourcesData;
     this.submissionsData      = submissionsData;
     this.submissionTypesData  = submissionTypesData;
     this.problemsBusiness     = problemsBusiness;
 }
Esempio n. 9
0
 public ProblemsBusinessService(
     IEfDeletableEntityRepository <Problem> problems,
     IContestsDataService contestsData,
     IParticipantScoresDataService participantScoresData,
     IProblemsDataService problemsData,
     IProblemResourcesDataService problemResourcesData,
     ISubmissionsDataService submissionsData,
     ISubmissionsForProcessingDataService submissionsForProcessingData,
     ITestRunsDataService testRunsData,
     ISubmissionTypesDataService submissionTypesData,
     IProblemGroupsBusinessService problemGroupsBusiness)
 {
     this.problems                     = problems;
     this.contestsData                 = contestsData;
     this.participantScoresData        = participantScoresData;
     this.problemsData                 = problemsData;
     this.problemResourcesData         = problemResourcesData;
     this.submissionsData              = submissionsData;
     this.submissionsForProcessingData = submissionsForProcessingData;
     this.testRunsData                 = testRunsData;
     this.submissionTypesData          = submissionTypesData;
     this.problemGroupsBusiness        = problemGroupsBusiness;
 }