public ServerStateClientService(IServerStateService serverStateService, IServerInfoService serverInfoService, IAccessService accessService) { _serverStateService = serverStateService; _serverInfoService = serverInfoService; _accessService = accessService; }
/// <summary> /// Initializes a new instance of the PushViewModel class. /// </summary> public SettingsViewModel( IConnectionManager connectionManager, INavigationService navigationService, IApplicationSettingsService applicationSettings, IMessageBoxService messageBox, IServerInfoService serverInfo) : base(navigationService, connectionManager) { _applicationSettings = applicationSettings.Legacy; _messageBox = messageBox; _serverInfo = serverInfo; if (IsInDesignMode) { FoundServers = new ObservableCollection<ServerInfo> { new ServerInfo{Id = Guid.NewGuid().ToString(), Name = "Home", LocalAddress = "http://192.168.0.2:8096"} }; } else { LoadingFromSettings = true; SendTileUpdates = SendToastUpdates = true; RegisteredText = AppResources.DeviceNotRegistered; LoadingFromSettings = false; SetStreamingQuality(); _ignoreRunUnderLockChanged = true; RunUnderLock = App.SpecificSettings.PlayVideosUnderLock; _ignoreRunUnderLockChanged = false; } }
public MappingValidatorService(IServerInfoService serverInfoService, IElasticSearchSettings elasticSearchSettings, IHttpClientHelper httpClientHelper) { _serverInfoService = serverInfoService; _elasticSearchSettings = elasticSearchSettings; _httpClientHelper = httpClientHelper; _mapping = new Mapping(_serverInfoService, _elasticSearchSettings, _httpClientHelper); }
/// <summary> /// Initializes a new instance of the PushViewModel class. /// </summary> public SettingsViewModel( IConnectionManager connectionManager, INavigationService navigationService, IApplicationSettingsService applicationSettings, IMessageBoxService messageBox, IServerInfoService serverInfo) : base(navigationService, connectionManager) { _applicationSettings = applicationSettings.Legacy; _messageBox = messageBox; _serverInfo = serverInfo; if (IsInDesignMode) { FoundServers = new ObservableCollection <ServerInfo> { new ServerInfo { Id = Guid.NewGuid().ToString(), Name = "Home", LocalAddress = "http://192.168.0.2:8096" } }; } else { LoadingFromSettings = true; SendTileUpdates = SendToastUpdates = true; RegisteredText = AppResources.DeviceNotRegistered; LoadingFromSettings = false; SetStreamingQuality(); _ignoreRunUnderLockChanged = true; RunUnderLock = App.SpecificSettings.PlayVideosUnderLock; _ignoreRunUnderLockChanged = false; } }
public Worker(ILogger <Worker> logger, IConfiguration configuration, IServerInfoService serverInfoService) { _logger = logger; _configurations = configuration; _serverInfo = serverInfoService.GetServerInfo(); _webSocketURI = _configurations.GetSection("Websocket").GetSection("URI").Value.ToString(); }
public ElasticSearchService( IServerInfoService serverInfoService, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper) : base(serverInfoService, settings, httpClientHelper) { }
public ServerController(IServerInfoService ServerInfodb, IProviderService providerdb, ICertificateService Certificatedb, IMapper IMapper, IProjectInfoService Projectdb) { this.ServerInfodb = ServerInfodb; this.providerdb = providerdb; this.Certificatedb = Certificatedb; this.Projectdb = Projectdb; this.IMapper = IMapper; }
public ControllerStub( IServerInfoService serverInfoService, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper, ILanguageBranchRepository languageBranchRepository) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { }
public QueryBuilder( IServerInfoService serverInfoService, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper) { _settings = settings; _mapping = new Mapping(serverInfoService, settings, httpClientHelper); ServiceLocator.Current?.TryGetExistingInstance(out _boostingRepository); }
public Indexing( IServerInfoService serverInfoService, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper) { _serverInfoService = serverInfoService; _settings = settings; _httpClientHelper = httpClientHelper; }
internal SearchEngine( IServerInfoService serverInfoService, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper) { _settings = settings; _httpClientHelper = httpClientHelper; _serverInfo = serverInfoService.GetInfo(); }
public NotificationService(IServerInfoService serverInfoService, IUserInfoService userInfoService, IEntityChangedNotificationTriggerService entityChangedNotificationTriggerService, INotificationStatusChangedTriggerService notificationStatusChangedTriggerService) { this.serverInfoService = serverInfoService; this.userInfoService = userInfoService; this.entityChangedNotificationTriggerService = entityChangedNotificationTriggerService; this.notificationStatusChangedTriggerService = notificationStatusChangedTriggerService; }
public ElasticAutoSuggestController( ILanguageBranchRepository languageBranchRepository, IAutoSuggestRepository autoSuggestRepository, IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { _autoSuggestRepository = autoSuggestRepository; }
public NxtConnector(IServiceFactory serviceFactory, string walletfile, int confirmations) { accountService = serviceFactory.CreateAccountService(); blockService = serviceFactory.CreateBlockService(); serverInfoService = serviceFactory.CreateServerInfoService(); this.confirmations = confirmations; wallet = InitWallet(walletfile); }
public ElasticIndexInspectorController( IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper, IInspectorRepository inspectorRepository, ILanguageBranchRepository languageBranchRepository) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { _inspectorRepository = inspectorRepository; }
public ElasticTrackingController( ILanguageBranchRepository languageBranchRepository, ITrackingRepository trackingRepository, IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { _trackingRepository = trackingRepository; }
public ServerInfoServiceTest(IServerInfoService serverInfoService, ILogger logger, IGetBlockchainStatusTest getBlockchainStatusTest, IGetConstantsTest getConstantsTest, IGetStateTest getStateTest) { _serverInfoService = serverInfoService; _logger = logger; _getBlockchainStatusTest = getBlockchainStatusTest; _getConstantsTest = getConstantsTest; _getStateTest = getStateTest; }
public ElasticSynonymsController( ILanguageBranchRepository languageBranchRepository, ISynonymRepository synonymRepository, IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { _synonymRepository = synonymRepository; }
public NxtConnector(string secretPhrase, IAccountService accountService, IBlockService blockService, IMessageService messageService, IServerInfoService serverInfoService, ITransactionService transactionService) { _secretPhrase = secretPhrase; _accountService = accountService; _blockService = blockService; _messageService = messageService; _serverInfoService = serverInfoService; _transactionService = transactionService; }
public ElasticConsoleController( ILanguageBranchRepository languageBranchRepository, IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { _settings = settings; _serverInfoService = serverInfoService; _httpClientHelper = httpClientHelper; }
public CoreIndexer( IServerInfoService serverInfoService, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper) { _serverInfoService = serverInfoService; _settings = settings; _httpClientHelper = httpClientHelper; _mapping = new Mapping(serverInfoService, settings, httpClientHelper); _serverInfo = serverInfoService.GetInfo(); }
public ElasticBestBetsController( IContentLoader contentLoader, IBestBetsRepository bestBetsRepository, ILanguageBranchRepository languageBranchRepository, IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { _contentLoader = contentLoader; _bestBetsRepository = bestBetsRepository; }
public InspectorRepository( IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper, IContentTypeRepository contentTypeRepository) { _elasticSearchSettings = settings; _contentTypeRepository = contentTypeRepository; _httpClientHelper = httpClientHelper; _mapping = new Mapping(serverInfoService, settings, httpClientHelper); _serverInfo = serverInfoService.GetInfo(); }
public ElasticBoostingController( ILanguageBranchRepository languageBranchRepository, IBoostingRepository boostingRepository, IContentTypeRepository pageTypeRepository, IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { _boostingRepository = boostingRepository; _pageTypeRepository = pageTypeRepository; }
public SynonymRepository( IContentRepository contentRepository, IBlobFactory blobFactory, IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper) { _contentRepository = contentRepository; _blobFactory = blobFactory; _settings = settings; _serverInfoService = serverInfoService; _httpClientHelper = httpClientHelper; }
protected ElasticSearchControllerBase( IServerInfoService serverInfoService, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper, ILanguageBranchRepository languageBranchRepository) { _serverInfoService = serverInfoService; _settings = settings; _httpClientHelper = httpClientHelper; _languageBranchRepository = languageBranchRepository; Indices = GetIndices(); Languages = GetLanguages(); }
public ElasticAdminCommerceController( IContentIndexService contentIndexService, ILanguageBranchRepository languageBranchRepository, ICoreIndexer coreIndexer, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper, IServerInfoService serverInfoService, IScheduledJobRepository scheduledJobRepository, IScheduledJobExecutor scheduledJobExecutor, ReferenceConverter referenceConverter) : base(contentIndexService, languageBranchRepository, coreIndexer, settings, httpClientHelper, serverInfoService, scheduledJobRepository, scheduledJobExecutor) { _settings = settings; _referenceConverter = referenceConverter; }
public IndexEpiserverCommerceContent( IContentLoader contentLoader, ICoreIndexer coreIndexer, IIndexer indexer, IBestBetsRepository bestBetsRepository, ILanguageBranchRepository languageBranchRepository, IElasticSearchSettings settings, IServerInfoService serverInfoService, IHttpClientHelper httpClientHelper, ReferenceConverter referenceConverter) : base(contentLoader, coreIndexer, indexer, bestBetsRepository, languageBranchRepository, settings, serverInfoService, httpClientHelper) { _contentLoader = contentLoader; _referenceConverter = referenceConverter; CustomIndexName = $"{settings.Index}-{Constants.CommerceProviderName}"; }
public SyncService( IConnectionManager connectionManager, IMultiServerSync mediaSync, IStorageService storageService, IServerInfoService serverInfo, IMessagePromptService messagePrompt, IMessengerService messengerService) { _connectionManager = connectionManager; _mediaSync = mediaSync; _serverInfo = serverInfo; _messagePrompt = messagePrompt; _messengerService = messengerService; _storageService = storageService.Local; _logger = new WPLogger(GetType()); Current = this; }
public ElasticAdminController( ILanguageBranchRepository languageBranchRepository, ICoreIndexer coreIndexer, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper, IServerInfoService serverInfoService, IScheduledJobRepository scheduledJobRepository, IScheduledJobExecutor scheduledJobExecutor) : base(serverInfoService, settings, httpClientHelper, languageBranchRepository) { _coreIndexer = coreIndexer; _settings = settings; _healthHelper = new Health(settings, httpClientHelper); _httpClientHelper = httpClientHelper; _serverInfoService = serverInfoService; _scheduledJobRepository = scheduledJobRepository; _scheduledJobExecutor = scheduledJobExecutor; }
public Index( IServerInfoService serverInfoService, IElasticSearchSettings settings, IHttpClientHelper httpClientHelper, string name) { if (String.IsNullOrWhiteSpace(name)) { throw new InvalidOperationException("'name' can not be empty."); } _name = name.ToLower(); _language = _name.Split('-').Last(); _nameWithoutLanguage = _name.Substring(0, _name.Length - _language.Length - 1); _httpClientHelper = httpClientHelper; _settings = settings; _indexing = new Indexing(serverInfoService, settings, httpClientHelper); _serverInfo = serverInfoService.GetInfo(); }
public AuthenticationService( IConnectionManager connectionManager, IApplicationSettingsService settingsService, IServerInfoService serverInfoService, IMessengerService messengerService) { _settingsService = settingsService.Legacy; _connectionManager = connectionManager; _messengerService = messengerService; _logger = new WPLogger(typeof (AuthenticationService)); Current = this; _connectionManager.ConnectUserSignIn += ConnectionManagerOnConnectUserSignIn; _connectionManager.ConnectUserSignOut += ConnectionManagerOnConnectUserSignOut; _connectionManager.LocalUserSignIn += ConnectionManagerOnLocalUserSignIn; _connectionManager.LocalUserSignOut += ConnectionManagerOnLocalUserSignOut; _connectionManager.Connected += ConnectionManagerOnConnected; serverInfoService.ServerInfoChanged += ServerInfoServiceOnServerInfoChanged; if (serverInfoService.HasServer) { SetUserUpdateHandler(serverInfoService.ServerInfo); } }
/// <summary> /// Initializes a new instance of the MbConnectViewModel class. /// </summary> public MbConnectViewModel(INavigationService navigationService, IConnectionManager connectionManager, IApplicationSettingsService appSettings, IServerInfoService serverInfo) : base(navigationService, connectionManager) { _serverInfo = serverInfo; _appSettings = appSettings.Legacy; }