protected IExecutor CreateExecutor(ProcessExecutorType processExecutorType) => this.ProcessExecutorFactory .CreateProcessExecutor(this.BaseTimeUsed, this.BaseMemoryUsed, processExecutorType);
protected IExecutor CreateExecutor(ProcessExecutorType type) => new ProcessExecutorFactory(new TasksService()) .CreateProcessExecutor(0, 0, type);