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