public ApiController( AntiPlagiarismDb db, ISubmissionsRepo submissionsRepo, ISnippetsRepo snippetsRepo, ITasksRepo tasksRepo, IClientsRepo clientsRepo, IWorkQueueRepo workQueueRepo, IMostSimilarSubmissionsRepo mostSimilarSubmissionsRepo, IManualSuspicionLevelsRepo manualSuspicionLevelsRepo, PlagiarismDetector plagiarismDetector, CodeUnitsExtractor codeUnitsExtractor, IServiceScopeFactory serviceScopeFactory, NewSubmissionHandler newSubmissionHandler, IOptions <AntiPlagiarismConfiguration> configuration) : base(clientsRepo, db) { this.submissionsRepo = submissionsRepo; this.snippetsRepo = snippetsRepo; this.tasksRepo = tasksRepo; this.workQueueRepo = workQueueRepo; this.mostSimilarSubmissionsRepo = mostSimilarSubmissionsRepo; this.manualSuspicionLevelsRepo = manualSuspicionLevelsRepo; this.plagiarismDetector = plagiarismDetector; this.codeUnitsExtractor = codeUnitsExtractor; this.newSubmissionHandler = newSubmissionHandler; this.serviceScopeFactory = serviceScopeFactory; this.configuration = configuration.Value; }
protected BaseController(ILogger logger, IClientsRepo clientsRepo, AntiPlagiarismDb db) { this.logger = logger; this.clientsRepo = clientsRepo; this.db = db; }
protected BaseController(IClientsRepo clientsRepo, AntiPlagiarismDb db) { this.clientsRepo = clientsRepo; this.db = db; }
public ApiController( AntiPlagiarismDb db, ISubmissionsRepo submissionsRepo, ISnippetsRepo snippetsRepo, ITasksRepo tasksRepo, IClientsRepo clientsRepo, StatisticsParametersFinder statisticsParametersFinder, PlagiarismDetector plagiarismDetector, CodeUnitsExtractor codeUnitsExtractor, SubmissionSnippetsExtractor submissionSnippetsExtractor, ILogger logger, IServiceScopeFactory serviceScopeFactory, IOptions <AntiPlagiarismConfiguration> configuration) : base(logger, clientsRepo, db) { this.submissionsRepo = submissionsRepo; this.snippetsRepo = snippetsRepo; this.tasksRepo = tasksRepo; this.statisticsParametersFinder = statisticsParametersFinder; this.plagiarismDetector = plagiarismDetector; this.codeUnitsExtractor = codeUnitsExtractor; this.submissionSnippetsExtractor = submissionSnippetsExtractor; this.serviceScopeFactory = serviceScopeFactory; this.configuration = configuration.Value; }
public ClientsController(IClientsRepo repository) { _repository = repository; }
public HomeController(IClientsRepo cliensRepo, ILogger logger) : base(logger) { }