Beispiel #1
0
 protected override void Inject(ILifetimeScope scope)
 {
     serverClient = scope.Resolve <IServerClient>();
     Logger.Info("Loading plugins.");
     taskSolverFactory = scope.Resolve <TaskSolverFactory>();
     taskSolverFactory.LoadTaskSolvers(libDirectory);
 }
Beispiel #2
0
 public DivideProblemHandler(Func <IQueuedServerClient> serverClientFactory, TaskSolverFactory taskSolverFactory)
 {
     this.serverClientFactory = serverClientFactory;
     this.taskSolverFactory   = taskSolverFactory;
 }
Beispiel #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;
 }