public AutomationFactory( ISchedulerService schedulerService, INotificationService notificationService, IDateTimeService dateTimeService, IDaylightService daylightService, IOutdoorTemperatureService outdoorTemperatureService, IComponentService componentService, ISettingsService settingsService, IResourceService resourceService) { if (schedulerService == null) throw new ArgumentNullException(nameof(schedulerService)); if (notificationService == null) throw new ArgumentNullException(nameof(notificationService)); if (dateTimeService == null) throw new ArgumentNullException(nameof(dateTimeService)); if (daylightService == null) throw new ArgumentNullException(nameof(daylightService)); if (outdoorTemperatureService == null) throw new ArgumentNullException(nameof(outdoorTemperatureService)); if (componentService == null) throw new ArgumentNullException(nameof(componentService)); if (settingsService == null) throw new ArgumentNullException(nameof(settingsService)); if (resourceService == null) throw new ArgumentNullException(nameof(resourceService)); _schedulerService = schedulerService; _notificationService = notificationService; _dateTimeService = dateTimeService; _daylightService = daylightService; _outdoorTemperatureService = outdoorTemperatureService; _componentService = componentService; _settingsService = settingsService; _resourceService = resourceService; }
public ResourceHeaderXmlDialog(string resourceId, IResourceService resSvc) : this() { _resSvc = resSvc; _resourceId = resourceId; lblResourceId.Text = _resourceId; }
public PlayerManager(IDataService dataService, IAuthenticationService accountService, IPlayerService playerService, IDialogService dialogservice, IResourceService resourceService) { this.m_dataService = dataService; this.m_accountService = accountService; this.PlayerService = playerService; this.m_dialogService = dialogservice; this.m_resourceService = resourceService; Messenger.Default.Register<MediaStateChangedArgs>(this, args => { switch (args.MediaState) { case MediaState.Opened: OnMediaOpened(); break; case MediaState.Ended: this.OnMediaEnded(); break; case MediaState.NextRequested: ExecuteNextTrack(); break; case MediaState.PreviousRequested: ExecutePreviousTrack(); break; case MediaState.DownloadCompleted: PrepareNextTrack(); break; } }); }
public NotificationService( IDateTimeService dateTimeService, IApiService apiService, ISchedulerService schedulerService, ISettingsService settingsService, IStorageService storageService, IResourceService resourceService) { if (dateTimeService == null) throw new ArgumentNullException(nameof(dateTimeService)); if (apiService == null) throw new ArgumentNullException(nameof(apiService)); if (schedulerService == null) throw new ArgumentNullException(nameof(schedulerService)); if (settingsService == null) throw new ArgumentNullException(nameof(settingsService)); if (storageService == null) throw new ArgumentNullException(nameof(storageService)); if (resourceService == null) throw new ArgumentNullException(nameof(resourceService)); _dateTimeService = dateTimeService; _storageService = storageService; _resourceService = resourceService; settingsService.CreateSettingsMonitor<NotificationServiceSettings>(s => Settings = s); apiService.StatusRequested += HandleApiStatusRequest; schedulerService.RegisterSchedule("NotificationCleanup", TimeSpan.FromMinutes(15), Cleanup); }
public GameEditor( IContextRegistry contextRegistry, IDocumentRegistry documentRegistry, IControlHostService controlHostService, ICommandService commandService, IDocumentService documentService, IPaletteService paletteService, ISettingsService settingsService, IResourceService resourceService, LevelEditorCore.ResourceLister resourceLister, BookmarkLister bookmarkLister ) { m_contextRegistry = contextRegistry; m_documentRegistry = documentRegistry; m_paletteService = paletteService; m_settingsService = settingsService; m_documentService = documentService; m_resourceService = resourceService; m_resourceLister = resourceLister; m_bookmarkLister = bookmarkLister; //to-do wire it to to command service InputScheme.ActiveControlScheme = new MayaControlScheme(); ResolveOnLoad = true; }
public SearchResultPageViewModel(IDataService dataService, INavigationService navigationService, IResourceService resourceService, IDialogService dialogService) { this.m_dataService = dataService; this.m_navigationService = navigationService; this.m_resourceService = resourceService; this.m_dialogservice = dialogService; }
public ReferenceCtrl(ISymbolInstanceReferenceLibrary libRef, IResourceService resSvc) { InitializeComponent(); _libRef = libRef; _resSvc = resSvc; TextBoxBinder.BindText(txtResourceId, _libRef, "ResourceId"); }
public BasePlaylistableViewModel(IDataService dataService, IAccountService accountService, IDialogService dialogService, IResourceService resourceService) { this.DataService = dataService; this.AccountService = accountService; this.DialogService = dialogService; this.ResourceService = resourceService; }
public BundleController() { bundleService = new BundleService(); locationService = new LocationService(); resourceService = new ResourceService(); userService = new UserService(); }
public MainForm(IFeatureService featSvc, IResourceService resSvc) : this() { this.featSvc = featSvc; this.resSvc = resSvc; localFsPreviewCtrl.Init(featSvc); }
public SearchController(IResourceService resourceService, IUserService userService, IProfileService profileService, ISearchService searchService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { _searchService = searchService; ResourceService = resourceService; }
public PlayerManager(IDataService dataService, IAccountService accountService, IPlayerService playerService, IDialogService dialogservice, IResourceService resourceService) { this.m_dataService = dataService; this.m_accountService = accountService; this.PlayerService = playerService; this.m_dialogService = dialogservice; this.m_resourceService = resourceService; Messenger.Default.Register<MediaOpenedMessage>(this, message => { this.OnMediaOpened(); }); Messenger.Default.Register<MediaEndedMessage>(this, message => { this.OnMediaEnded(); }); Messenger.Default.Register<MediaNextPressedMessage>(this, message => { if (this.CanExecuteNextTrack()) { this.ExecuteNextTrack(); } }); Messenger.Default.Register<MediaPreviousPressedMessage>(this, message => { if (this.CanExecutePreviousTrack()) { this.ExecutePreviousTrack(); } }); }
public ResourceButtonWidgetViewModel(Widget model, ICacheService cacheService, IApplicationState applicationState, IResourceService resourceService) : base(model) { _cacheService = cacheService; _applicationState = applicationState; _resourceService = resourceService; ItemClickedCommand = new CaptionCommand<ResourceButtonWidgetViewModel>("", OnItemClickExecute); }
public AccountController(IAccountService accountService, IMessageService messageService, IResourceService resourceService) { this.accountService = accountService; this.messageService = messageService; this.resourceService = resourceService; signInCommand = new DelegateCommand(SignIn, CanSignIn); signOutCommand = new AsyncDelegateCommand(SignOutAsync); }
public ResourceServiceTest() { _repository = new Mock<IResourceRepository>(); _service = new ResourceService(_repository.Object); _resource.CreateTime = _prepareTime; _resource.LastUpdateTime = _prepareTime; }
public ResourceGridWidgetViewModel(Widget model, IApplicationState applicationState, IResourceService resourceService, IUserService userService, ICacheService cacheService) : base(model, applicationState) { _applicationState = applicationState; _cacheService = cacheService; ResourceSelectorViewModel = new ResourceSelectorViewModel(applicationState, resourceService, userService, cacheService); }
public UserService(IRepository repository, INotificationService notificationService, IResourceService resourceService, IPasswordEncryptor passwordEncryptor) { this.repository = repository; this.resourceService = resourceService; this.notificationService = notificationService; this.passwordEncryptor = passwordEncryptor; }
public StoreController(IStoreRepository storeRepository ,IResourceService resourceService ,IResourceRepository resourceRepo) { this._storeRepository = storeRepository; _resouceService = resourceService; _resourceRepo = resourceRepo; }
public BrandController(IBrandRepository brandRepository ,IResourceService resourceService ,IResourceRepository resourceRepository) { this._brandRepository = brandRepository; _resourceService = resourceService; _resourceRepository = resourceRepository; }
public PrinterService(IPrinterDao printerDao, IResourceService resourceService, ISettingService settingService, ICacheService cacheService, IExpressionService expressionService, ILogService logService) { _printerDao = printerDao; _cacheService = cacheService; _logService = logService; _ticketFormatter = new TicketFormatter(expressionService, settingService); }
public AccountService(IResourceService resourceService) { this.m_resourceService = resourceService; this.m_strUnauthorizedAccessExceptionMessage = this.m_resourceService.GetString( "UnauthorizedAccessExceptionMessage", "The user name or password is incorrect"); this.m_strEncryptedLoginException = this.m_resourceService.GetString( "EncryptedLoginException", "There is a login error. Please deactivate the encrypted login."); }
public SampleGenerator(IProfileService profileService, IUserService userService, IPhotosService photosService, IConversationService conversationService, IVisitService visitService, IResourceService resourceService) { _profileService = profileService; _userService = userService; _photosService = photosService; _conversationService = conversationService; _visitService = visitService; _resourceService = resourceService; }
public ResourceController(IUserService userService, IResourceService resourceService, ILogService logService, IMapperService mapper) : base(userService, logService) { _mapper = mapper; _resourceService = resourceService; }
public HostSettingsPageViewModel(IDataService dataService, IHostsettingsService hostSettingsService, IAccountService accountService, INavigationService navigationService, IResourceService resourceService) { this.m_dataService = dataService; this.m_accountService = accountService; this.m_navigationService = navigationService; this.m_hostSettingsService = hostSettingsService; this.m_resourceService = resourceService; this.ServiceUrl = this.m_hostSettingsService.ServiceUrl; }
public AsyncViewModelBase(INavigationService navigationService, IResourceService resourceService, IDialogService dialogService) { _NavigationService = navigationService; _ResourceService = resourceService; _DialogService = dialogService; // Register events ConnectionError += AsyncViewModelBase_ConnectionError; }
public ApiController(IResourceService resourceService, IUserService userService, IProfileService profileService, IConversationService conversationService, IStateService stateService, IUtilityService utilityService, ISearchService searchService, IPhotosService photoService ) : base(resourceService, userService, profileService, stateService, conversationService) { _searchService = searchService; _photoService = photoService; _utilityService = utilityService; }
public CustomerDataService(IPointService pointService, IUserService userService, ILikeService likeService, ICustomerRepository customerRepository, IOutSiteCustomerRepository outSiteCustomerRepository, IVerifyCodeRepository verifyCodeRepository, IResourceService resourceService) { _likeService = likeService; _customerRepository = customerRepository; _outSiteCustomerRepository = outSiteCustomerRepository; _verifyCodeRepository = verifyCodeRepository; _resourceService = resourceService; _userService = userService; _pointService = pointService; }
public BannerController(IBannerRepository bannerRepo, IPromotionRepository proRepo, IResourceRepository resourceRepo, IResourceService resourceSer) { _bannerRepo = bannerRepo; _proRepo = proRepo; _resourceRepo = resourceRepo; _resourceSer = resourceSer; }
public CustomerController(ICustomerRepository customerRepository ,IResourceService resourceService ,IResourceRepository resourceRepository ,ICardRepository cardRepo) { _customerRepository = customerRepository; _resourceService = resourceService; _resourceRepository = resourceRepository; _cardRepo = cardRepo; }
public LegendControlPresenter(Legend legend, RuntimeMap map) { _legend = legend; _map = map; _provider = _map.CurrentConnection; _resSvc = _provider.ResourceService; InitInitialSelectabilityStates(); _selectableIcon = Properties.Resources.lc_select; _unselectableIcon = Properties.Resources.lc_unselect; }
public SystemDirectoriesController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <SystemDirectory> resourceService) : base(options, loggerFactory, resourceService) { }
public TodoItemsCustomController( IJsonApiOptions options, IResourceService <TodoItem> resourceService) : base(options, resourceService) { }
public ToothbrushesController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <Toothbrush> resourceService) : base(options, loggerFactory, resourceService) { }
public ResourcesController(IResourceService service, ITelemetryCollector telemetryCollector) { _service = service ?? throw new ArgumentNullException(nameof(service)); _telemetryCollector = telemetryCollector ?? throw new ArgumentNullException(nameof(telemetryCollector)); }
public ArticlesController( IJsonApiOptions jsonApiOptions, IResourceService <Article> resourceService) : base(jsonApiOptions, resourceService) { }
public ManagerViewPresenter(IManagerView managerView, IResourceService service) { _managerView = managerView; _resourceService = service; Initialize(); }
public ResourceController(IResourceService service) { this.service = service; }
public CustomJsonApiController( IJsonApiOptions options, IResourceService <T, int> resourceService) : base(options, resourceService) { }
public ResourceController(IResourceService packageService) { this.packageService = packageService; }
public PageViewResult(string path, IResourceService <Website, IReadOnlyWebsite> websiteService) { this.path = path; this.websiteService = websiteService; }
/// <summary> /// Initialize TrolleyTotal controller and inject resource service. /// </summary> /// <param name="resourceService"> /// Resource service that helps handle dependent resource logics. /// </param> public TrolleyTotalController(IResourceService resourceService) { this.resourceService = resourceService; }
public ArticlesController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <Article> resourceService) : base(options, loggerFactory, resourceService) { }
public CategoryService(ICategoryRepository categoryRepository, ICategoriesNewsRepository categoriesNewsRepository, ICategoryTranslationRepository categoryTranslationRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWebsiteResource> resourceService, IMenuItemRepository menuItemRepository) { _categoryRepository = categoryRepository; _categoriesNewsRepository = categoriesNewsRepository; _categoryTranslationRepository = categoryTranslationRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; _menuItemRepository = menuItemRepository; }
public StarsController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <Star> resourceService) : base(options, loggerFactory, resourceService) { }
public DeletePageCommandHandler(IPageRepository pageRepository, IUnitOfWork uow, IResourceService <SharedResource> sharedResourceService, IResourceService <CoreResource> resourceService, IRolePageRepository rolePageRepository) { _uow = uow; _pageRepository = pageRepository; _rolePageRepository = rolePageRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; }
public ResourceSearchViewModel(IApplicationState applicationState, ICacheService cacheService, IResourceService resourceService) { _updateTimer = new Timer(500); _updateTimer.Elapsed += UpdateTimerElapsed; _applicationState = applicationState; _cacheService = cacheService; _resourceService = resourceService; FoundResources = new ObservableCollection <ResourceSearchResultViewModel>(); SelectResourceCommand = new CaptionCommand <string>("", OnSelectResource, CanSelectResource); EditResourceCommand = new CaptionCommand <string>("", OnEditResource, CanEditResource); CreateResourceCommand = new CaptionCommand <string>("", OnCreateResource, CanCreateResource); DisplayAccountCommand = new CaptionCommand <string>(Resources.AccountDetails.Replace(" ", "\r"), OnDisplayAccount, CanDisplayAccount); RemoveResourceCommand = new CaptionCommand <string>("", OnRemoveResource, CanRemoveResource); }
public TodoItemsController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <TodoItem> resourceService) : base(options, loggerFactory, resourceService) { }
public BaseJsonApiController( IJsonApiContext jsonApiContext, IResourceService <T, int> resourceService ) : base(jsonApiContext, resourceService) { }
public GiftCertificatesController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <GiftCertificate> resourceService) : base(options, loggerFactory, resourceService) { }
public NotesController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <Note> service) : base(options, loggerFactory, service) { }
public ResourceController(IResourceService resourceService) { _resourceService = resourceService; }
public CiviliansController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <Civilian> resourceService) : base(options, loggerFactory, resourceService) { }
protected KatushaApiController(IResourceService resourceService, IUserService userService, IProfileService profileService, IStateService stateService, IConversationService conversationService) : base(resourceService, userService, profileService, stateService, conversationService) { }
public VillageFacade(IVillageService villageService, IResourceService resourceService, IAdventureService adventureService) { this.villageService = villageService; this.resourceService = resourceService; this.adventureService = adventureService; }
public AuditEntriesController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <AuditEntry> resourceService) : base(options, loggerFactory, resourceService) { }
/// <summary> /// Initializes global static references to MEF components</summary> /// <param name="container">Initialized MEF composition container</param> public static void InitializeComponents(CompositionContainer container) { ResourceService = container.GetExportedValue <IResourceService>(); MEFContainer = container; }
public PostsController(IJsonApiContext jsonApiContext, IResourceService <Post, int> resourceService, ILoggerFactory loggerFactory) : base(jsonApiContext, resourceService, loggerFactory) { }
public ProductFamiliesController(IJsonApiOptions options, ILoggerFactory loggerFactory, IResourceService <ProductFamily> resourceService) : base(options, loggerFactory, resourceService) { }
public ResourceManagerController(IResourceService resourceService, IMapper mapper) { this.resourceService = resourceService; this.mapper = mapper; }