示例#1
0
 public CorralController(ICorralService corralService, IRunnerService runnerService, IRunnerAssigner runnerAssigner, IMapper mapper)
 {
     _corralService  = corralService;
     _runnerService  = runnerService;
     _runnerAssigner = runnerAssigner;
     _mapper         = mapper;
 }
示例#2
0
 public OpeningOrderManager(IOrderPlacer orderPlacer, IRunnerService runnerService, ISleepService sleepService,
                            IOrderPriceFinder orderPriceFinder)
 {
     _orderPlacer      = orderPlacer;
     _runnerService    = runnerService;
     _orderPriceFinder = orderPriceFinder;
     _sleepService     = sleepService;
 }
 public ClosingOrderManager(ISleepService sleepService, IRunnerService runnerService, IOrderPlacer orderPlacer,
                            IClosingStakeCalculator closingStakeCalculator)
 {
     _sleepService           = sleepService;
     _runnerService          = runnerService;
     _orderPlacer            = orderPlacer;
     _closingStakeCalculator = closingStakeCalculator;
 }
示例#4
0
        public ItemsViewModel(IRunnerService runnerService,
                              IDataStore <RunnerViewModel> dataStore)
        {
            Title     = "Varsity Race";
            StartText = "Start";

            LoadItemsCommand    = new MvxCommand(async() => await ExecuteLoadItemsCommand());
            HandleSplit1Command = new MvxCommand(async() => await UpdateTimeCommand());
            AutomationIds       = new List <string>();
            _runnerService      = runnerService;
            DataStore           = dataStore;
            RaceStarted         = false;
        }
示例#5
0
        public RunnerServiceTests(ITestOutputHelper output)
        {
            _frameworkServiceProviderMock.Setup(m => m.GetFrameworkService(ProjectFramework.Dotnet))
            .Returns(_dotnetServiceMock.Object);
            _frameworkServiceProviderMock.Setup(m => m.GetFrameworkService(ProjectFramework.Node))
            .Returns(_nodeServiceMock.Object);

            _console       = new TestConsole(output);
            _queueService  = new TestQueueService(_console);
            _runnerService = new RunnerService(
                new ProjectManager(_console, new Mock <ICleanupService>().Object, new ProjectFilter()),
                _frameworkServiceProviderMock.Object,
                _queueService,
                _networkingServiceMock.Object,
                _platformServiceMock.Object,
                _fileSystem,
                _console);
        }
示例#6
0
 public WiftService(
     ILogger logger,
     IConfigurationRoot configuration,
     IWiftWrapper wiftWrapper,
     IPoolService poolService,
     IDividendService dividendService,
     IRunnerService runnerService,
     IRaceService raceService,
     IMeetingService meetingService
     )
 {
     _logger          = logger;
     _config          = configuration;
     _wiftWrapper     = wiftWrapper;
     _poolService     = poolService;
     _dividendService = dividendService;
     _runnerService   = runnerService;
     _raceService     = raceService;
     _meetingService  = meetingService;
 }
示例#7
0
 public TestCommand(IRunnerService runnerService, ISummaryService summaryService, IProjectManager projectManager, IConfigurationService configurationService, IConsole console)
     : base(projectManager, configurationService, console)
 {
     _runnerService  = runnerService;
     _summaryService = summaryService;
 }
 public AuthenticationController(IRunnerService runnerService)
 {
     this.runnerService = runnerService;
 }
 public InstancesController(IInstanceProvider servers, IRunnerService runner)
 {
     _servers = servers;
     _runner  = runner;
 }
 public TableController(IRunnerService runnerService)
 {
     runnerService_ = runnerService;
 }
示例#11
0
 public KillCommand(IRunnerService runnerService, IProjectManager projectManager, IConfigurationService configurationService, IConsole console)
     : base(projectManager, configurationService, console)
 {
     _runnerService = runnerService;
 }
示例#12
0
 public TrainingPlanService(ApplicationDbContext dbContext, IRunnerService runnerService)
 {
     this.dbContext     = dbContext;
     this.runnerService = runnerService;
 }
示例#13
0
 public RunnersController(IRunnerService runnerService)
 {
     _runnerService = runnerService;
 }
示例#14
0
 public StartCommand(IRunnerService runnerService, IProjectManager projectManager, IConfigurationService configurationService, IConsole console, IOptions <Settings> options)
     : base(projectManager, configurationService, console)
 {
     _runnerService = runnerService;
     _options       = options?.Value ?? throw new ArgumentNullException(nameof(options));
 }
 public RunnerAPIController(IRunnerService runnerService)
 {
     this.runnerService = runnerService;
 }