public ProvisioningEngineService(IEngineService iEngineService, IOrderService iOrderService, ILogger logger, Guid tenantId) { _iEngineService = iEngineService; _iOrderService = iOrderService; _logger = logger; _tenantId = tenantId; }
public DetailsModel(IEngineService engineService, HumanErrorProjectContext context) { EngineService = engineService; Context = context; PreAssignments = context.Set <PreAssignment>(); Assignments = context.Set <Assignment>(); }
public EnginesController(IAuthorizationService authService, IEngineRepository engines, IEngineService engineService) { _authService = authService; _engines = engines; _engineService = engineService; }
public ProjectsController(IAuthorizationService authService, IProjectRepository projects, IEngineService engineService) { _authService = authService; _projects = projects; _engineService = engineService; }
public SearchFightTest() { var services = ConfigureServices(); serviceProvider = services.BuildServiceProvider(); dataRetriever = serviceProvider.GetService <IEngineService>(); }
public CarService(IEngineService engineService, IBrakeService brakeService, IControls controls) { _engineService = engineService; _brakeService = brakeService; _controls = controls; Name = $"Car: {Guid.NewGuid().ToString()}"; }
public EnginesController(FormulaContext context, UserManager <SimUser> userManager, PagingHelper pagingHelper, IEngineService dataService) : base(context, userManager, pagingHelper, dataService) { _engines = dataService; }
public SchemesController(IEngineService workflowService, IRepository <WorkflowScheme> workflowSchemesRepository, IRepository <WorkflowAssociation> workflowAssociationsRepository) { _workflowService = workflowService; _workflowSchemesRepository = workflowSchemesRepository; _workflowAssociationsRepository = workflowAssociationsRepository; }
public ChessViewModel(IEngineService es) { engine = es; BoardItems = Chess.BoardSetup(); ctxTaskFactory = new TaskFactory(TaskScheduler.FromCurrentSynchronizationContext()); engine.EngineMessage += EngineMessage; engine.StartEngine(); }
public SFProjectService(IJsonApiContext jsonApiContext, IMapper mapper, IUserAccessor userAccessor, IRepository <SFProjectEntity> projects, IEngineService engineService, IOptions <SiteOptions> siteOptions, SyncJobManager syncJobManager) : base(jsonApiContext, mapper, userAccessor, projects) { _engineService = engineService; _siteOptions = siteOptions; _syncJobManager = syncJobManager; }
public BuildsController(IAuthorizationService authService, IBuildRepository builds, IEngineRepository engines, IEngineService engineService, IOptions <EngineOptions> engineOptions) { _authService = authService; _builds = builds; _engines = engines; _engineService = engineService; _engineOptions = engineOptions; }
public void TestSetup() { serviceLog = new TestTargetsLogger("TestTargetsCollection"); testConfig = ProcessConfigSetCzModule.CreateModule(null); testEngine = EngineServiceModule.CreateModule(); testConfig.InitModule(); }
public void SetUp() { moq = new MockRepository(MockBehavior.Strict); mockEngineFactory = moq.Create <IEngineFactory>(); mockFieldService = moq.Create <IFieldService>(); mockShapeService = moq.Create <IShapeService>(); mockInputService = moq.Create <IInputService>(); sut = new EngineService(mockEngineFactory.Object, mockFieldService.Object, mockShapeService.Object, mockInputService.Object); }
public ClientNetworkService(ILogger logger, IEngineService engineService) { _logger = logger; NetPeerConfiguration config = new NetPeerConfiguration(engineService.ApplicationIdentifier); _client = new NetClient(config); _client.Start(); _boundPacketActions = new Dictionary <string, Tuple <Type, Action <PacketBase> > >(); }
public SignalRService( IWorldStateService worldStateService, IConfigurationService engineConfig, IEngineService engineService, IActionService actionService) { this.worldStateService = worldStateService; this.engineService = engineService; this.actionService = actionService; this.engineConfig = engineConfig.Value; }
/// <inheritdoc /> public PainterSystem(IInputService inputService, IEngineService engineService, Camera2D camera, IIsoMathService isoMathService) : base(Aspect.All(typeof(Position), typeof(Paintable))) { _inputService = inputService; _camera = camera; _engineService = engineService; _isoMathService = isoMathService; }
// GET: Home public HomeController(IUpdateCar updateCar, IGetCarByPlateNumber getCarByPlateNumber, IGetCarById getCarByIdCommand, ICreateCar createCarCommand, IBrandService brandService, IModelService modelService, IEngineService engineService, IOwnerService ownerService, IGetAllCars getAllCarsQuery) { _context = new CarHistoryContext(); _getCarByPlateNumber = getCarByPlateNumber; _createCarCommand = createCarCommand; _brandService = brandService; _modelService = modelService; _engineService = engineService; _ownerService = ownerService; _getCarByIdCommand = getCarByIdCommand; _getAllCarsQuery = getAllCarsQuery; _updateCar = updateCar; }
public RequestService(IEngineService engineService, ITableDataRecordRepository tableDataRecordRepository, IOptions <PelotonOptions> options, ILibraryRepository libraryRepository) { _engineService = engineService; _tableDataRecordRepository = tableDataRecordRepository; _libraryRepository = libraryRepository; _options = options.Value; _entityNameLookup = new ConcurrentDictionary <string, string>(); _entityNameLookup.TryAdd("WellView", "idwell"); _entityNameLookup.TryAdd("SiteView", "idsite"); _entityNameLookup.TryAdd("RigView", "idrig"); }
public TriggersController(IRepository <ProjectTrigger> projectTriggerRepository, IRepository <WorkflowScheme> workflowSchemesRepository, IRepository <WorkflowAssociation> workflowAssociationsRepository, IEngineService workflowService, IRepository <Trigger> triggerRepository) { _projectTriggerRepository = projectTriggerRepository; _workflowSchemesRepository = workflowSchemesRepository; _workflowAssociationsRepository = workflowAssociationsRepository; _triggerRepository = triggerRepository; _workflowService = workflowService; }
public CarsController(ICarService carService, IModelCarService modelCarService, IMakeCarService makeCarService, IBodyCarService bodyCarService, ApplicationDbContext db, Cloudinary cloudinary, ICloudinaryService cloudinaryService, IFeatureService featureService, UserManager <ApplicationUser> userManager, IEngineService engineService) { this.carService = carService; this.modelCarService = modelCarService; this.makeCarService = makeCarService; this.bodyCarService = bodyCarService; this.db = db; this.cloudinary = cloudinary; this.cloudinaryService = cloudinaryService; this.featureService = featureService; this.userManager = userManager; this.engineService = engineService; }
public ParatextSyncRunner(IRepository <UserSecret> userSecrets, IRepository <SFProjectSecret> projectSecrets, ISFProjectService projectService, IEngineService engineService, IParatextService paratextService, IRealtimeService realtimeService, IDeltaUsxMapper deltaUsxMapper, IParatextNotesMapper notesMapper, ILogger <ParatextSyncRunner> logger) { _userSecrets = userSecrets; _projectSecrets = projectSecrets; _projectService = projectService; _engineService = engineService; _paratextService = paratextService; _realtimeService = realtimeService; _logger = logger; _deltaUsxMapper = deltaUsxMapper; _notesMapper = notesMapper; }
/// <inheritdoc /> public AreaRenderSystem(SpriteBatch spriteBatch, IEngineService engineService, IModuleResourceService resourceService, Camera2D camera, IIsoMathService isoMathService) : base(Aspect.All(typeof(Renderable), typeof(Map))) { _spriteBatch = spriteBatch; _engineService = engineService; _origin = Vector2.Zero; _resourceService = resourceService; _camera = camera; _isoMathService = isoMathService; }
public DetectionService( IUserAgentService userAgentService, IDeviceService device, ICrawlerService crawler, IBrowserService browser, IEngineService engine, IPlatformService platform) { UserAgent = userAgentService.UserAgent; Device = device; Crawler = crawler; Browser = browser; Engine = engine; Platform = platform; }
public PtdaSyncRunner(IOptions <SiteOptions> siteOptions, IRepository <UserSecret> userSecrets, IRepository <SFProjectSecret> projectSecrets, ISFProjectService projectService, IEngineService engineService, IParatextService paratextService, IRealtimeService realtimeService, IFileSystemService fileSystemService, IDeltaUsxMapper deltaUsxMapper, IParatextNotesMapper notesMapper, ILogger <PtdaSyncRunner> logger) { _siteOptions = siteOptions; _userSecrets = userSecrets; _projectSecrets = projectSecrets; _projectService = projectService; _engineService = engineService; _paratextService = paratextService; _realtimeService = realtimeService; _fileSystemService = fileSystemService; _logger = logger; _deltaUsxMapper = deltaUsxMapper; _notesMapper = notesMapper; }
public ParatextSyncRunner(IOptions <SiteOptions> siteOptions, IRepository <UserEntity> users, IRepository <SyncJobEntity> jobs, IRepository <SFProjectEntity> projects, IRepository <TextEntity> texts, IEngineService engineService, IParatextService paratextService, IRealtimeService realtimeService, IFileSystemService fileSystemService, ILogger <ParatextSyncRunner> logger) { _siteOptions = siteOptions; _users = users; _jobs = jobs; _projects = projects; _texts = texts; _engineService = engineService; _paratextService = paratextService; _realtimeService = realtimeService; _fileSystemService = fileSystemService; _logger = logger; _deltaUsxMapper = new DeltaUsxMapper(); }
public ServerNetworkService(ILogger logger, IEngineService engineService, IServerSettingsService settingsService, IModuleService moduleService, IPathService pathService, IDataService dataService) { _logger = logger; _engineService = engineService; _settingsService = settingsService; _moduleService = moduleService; _pathService = pathService; _dataService = dataService; _usernameToConnection = new Dictionary <string, NetConnection>(); _connectionToUsername = new Dictionary <NetConnection, string>(); _boundPacketActions = new Dictionary <string, Tuple <Type, Action <string, PacketBase> > >(); }
public SFProjectService(IRealtimeService realtimeService, IOptions <SiteOptions> siteOptions, IAudioService audioService, IEmailService emailService, IRepository <SFProjectSecret> projectSecrets, ISecurityService securityService, IFileSystemService fileSystemService, IEngineService engineService, ISyncService syncService, IParatextService paratextService, IRepository <UserSecret> userSecrets, IRepository <TranslateMetrics> translateMetrics, IStringLocalizer <SharedResource> localizer, ITransceleratorService transceleratorService) : base(realtimeService, siteOptions, audioService, projectSecrets, fileSystemService) { _engineService = engineService; _syncService = syncService; _paratextService = paratextService; _userSecrets = userSecrets; _translateMetrics = translateMetrics; _emailService = emailService; _securityService = securityService; _localizer = localizer; _transceleratorService = transceleratorService; }
public AreaEditorScreen(IEventAggregator eventAggregator, IEntityFactory entityFactory, IObjectMapper objectMapper, IModuleDataService moduleDataService, IEngineService engineService, Camera2D camera) { _eventAggregator = eventAggregator; _entityFactory = entityFactory; _objectMapper = objectMapper; _camera = camera; _moduleDataService = moduleDataService; _engineService = engineService; _eventAggregator.GetEvent <AreaOpenedEvent>().Subscribe(AreaOpened); _eventAggregator.GetEvent <AreaClosedEvent>().Subscribe(AreaClosed); _eventAggregator.GetEvent <CameraMovedEvent>().Subscribe(CameraMoved); _eventAggregator.GetEvent <CameraZoomedEvent>().Subscribe(CameraZoomed); _eventAggregator.GetEvent <CameraResetEvent>().Subscribe(CameraReset); _eventAggregator.GetEvent <AreaPropertiesChangedEvent>().Subscribe(AreaPropertiesChanged); _eventAggregator.GetEvent <TileSelectedEvent>().Subscribe(TileSelected); }
public TileSelectorViewModel(IEventAggregator eventAggregator, IModuleDataService moduleDataService, IModuleResourceService resourceService, IEngineService engineService) { _eventAggregator = eventAggregator; _moduleDataService = moduleDataService; _resourceService = resourceService; _engineService = engineService; TileGridVisibility = Visibility.Hidden; SelectedTileBrush = Brushes.Yellow; SelectedTileHeight = _engineService.TileHeight; SelectedTileWidth = _engineService.TileWidth; SelectedTileVisibility = Visibility.Visible; SelectedTileX = 0; SelectedTileY = 0; CellSelectedCommand = new DelegateCommand <MouseButtonEventArgs>(CellSelected); _eventAggregator.GetEvent <AreaOpenedEvent>().Subscribe(AreaOpened); _eventAggregator.GetEvent <AreaClosedEvent>().Subscribe(AreaClosed); }
public WorkflowEngine() { engineService = new EngineService(); repository = engineService.Persistence.Repository; }
public EnginesController(IEngineService engineService) { _engineService = engineService; }
public CartoViewModel(IDataService dataService, IEngineService engineService, ICartoService cartoService) { this.CartoService = cartoService; this.DataService = dataService; this.EngineService = engineService; this.Templates = new ObservableCollection<TemplateViewModel>(); this.TemplatesView = new ListCollectionView(this.Templates); this.TemplatesView.CurrentChanged += TemplatesView_CurrentChanged; this.CreateTemplateCommand = new DelegateCommand(CreateTemplateExecute); this.LoadGeocodableEntityTypes(); this.LoadTemplates(); this.TreeTemplateContextMenuOpeningCommand = new DelegateCommand<TreeViewContextMenuOpeningBehaviorEventArg>(TreeTemplateContextMenuOpeningExecute); }
public ActivityRuntime(IEngineService services, ActivityContext context) { engineService = services; workItems = Persistence.GetWorkItems(context.ActivityInst.ID); Context = context; }
public BrowserService(IUserAgentService userAgentService, IEngineService engineService) { _userAgentService = userAgentService; _engineService = engineService; }
public ProcessRuntime(IEngineService services, ProcessContext context, Func<Participantor> assignParticipant) { engineService = services; Context = context; this.assignParticipant = assignParticipant; }
public WorkItemRuntime(IEngineService services, WorkItemContext context) { this.engineService = services; Context = context; }