Esempio n. 1
0
 protected override void Inject(ILifetimeScope scope)
 {
     serverClient = scope.Resolve <IServerClient>();
     Logger.Info("Loading plugins.");
     taskSolverFactory = scope.Resolve <TaskSolverFactory>();
     taskSolverFactory.LoadTaskSolvers(libDirectory);
 }
Esempio n. 2
0
 public DivideProblemHandler(Func <IQueuedServerClient> serverClientFactory, TaskSolverFactory taskSolverFactory)
 {
     this.serverClientFactory = serverClientFactory;
     this.taskSolverFactory   = taskSolverFactory;
 }
Esempio n. 3
0
 public PartialProblemsHandler(Func <IQueuedServerClient> serverClientFactory, TaskSolverFactory taskSolverFactory)
 {
     this.serverClientFactory = serverClientFactory;
     this.taskSolverFactory   = taskSolverFactory;
 }
 public SolutionsHandler(Func <IQueuedServerClient> serverClientFactory, TaskSolverFactory taskSolverFactory)
 {
     this.serverClientFactory = serverClientFactory;
     this.taskSolverFactory   = taskSolverFactory;
 }