Example #1
0
 public TaskController(ITaskManager taskManager, ICompiler compiler, ISolutionLogic solutionLogic, ICodeSkeletonManager codeSkeletonManager, IConfiguration iconfiguration)
 {
     _taskManager         = taskManager;
     _compiler            = compiler;
     _solutionLogic       = solutionLogic;
     _codeSkeletonManager = codeSkeletonManager;
     _configuration       = iconfiguration;
 }
Example #2
0
 public TaskController(ITaskRepository taskRepository, ICompiler compiler, ISolutionLogic solutionLogic, IConfiguration iconfiguration,
                       ICodeSkeletonRepository codeSkeletonRepository)
 {
     _taskRepository         = taskRepository;
     _compiler               = compiler;
     _solutionLogic          = solutionLogic;
     _configuration          = iconfiguration;
     _codeSkeletonRepository = codeSkeletonRepository;
 }
Example #3
0
 public DuelHub(ITaskManager taskManager, IDuelRepository duelRepository, ISolutionLogic solutionLogic,
                IHostingEnvironment hostingEnv, IDuelLogic duelLogic, IUserRepository userRepository)
 {
     _taskManager    = taskManager;
     _duelRepository = duelRepository;
     _solutionLogic  = solutionLogic;
     _hostingEnv     = hostingEnv;
     _duelLogic      = duelLogic;
     _userRepository = userRepository;
 }
Example #4
0
 /// <summary>
 /// constructor for SolutionController
 /// </summary>
 /// <param name="logic">business logic</param>
 public SolutionController(ISolutionLogic logic)
 {
     _logic = logic;
 }