public BotStatisticsViewModel(IArenaClient arenaClient, IStatisticsClient statisticsClient, ITimerService timerService, IEventAggregator eventAggregator, ICacheService cacheService) { _arenaClient = arenaClient; _statisticsClient = statisticsClient; _cacheService = cacheService; InitializeTimer(timerService); SubscribeEvents(eventAggregator); }
public ServiceMetasController(ITenant tenant, ITranslateClient translateClient, ITokenRefresherWithServiceClient tokenRefresher, IVisualNotificationClient visualNotificationClient, ICustomerMasterClient customerMasterClient, IStatisticsClient StatisticsClient) { _tenant = tenant; _translateClient = translateClient; _tokenRefresher = tokenRefresher; _visualNotificationClient = visualNotificationClient; _customerMasterClient = customerMasterClient; _StatisticsClient = StatisticsClient; }
public DependenceServices(IServiceProvider serviceProvider, IScheduler scheduler, IMessageQueue messageQueue, IStatisticsClient statisticsClient, IHostApplicationLifetime applicationLifetime) { ServiceProvider = serviceProvider; Scheduler = scheduler; MessageQueue = messageQueue; StatisticsClient = statisticsClient; ApplicationLifetime = applicationLifetime; }
public CourseController() { var contextWrapper = new TokenContainer(); var httpclient = HttpClientInstance.Instance; httpclient = GlobalURL.AddHeader(httpclient); var apiClient = new ApiClient(httpclient, contextWrapper); sclient = new StudentCourseClient(apiClient); aclient = new AttendanceClient(apiClient); nclient = new NoteClient(apiClient); gclient = new GradeClient(apiClient); cclient = new CLOClient(apiClient); statclient = new StatisticsClient(apiClient); }
public DependenceServices(IServiceProvider serviceProvider, IScheduler scheduler, IMessageQueue messageQueue, IStatisticsClient statisticsClient, IHostApplicationLifetime applicationLifetime, IProxyPool proxyPool) { ServiceProvider = serviceProvider; Scheduler = scheduler; MessageQueue = messageQueue; StatisticsClient = statisticsClient; ProxyPool = proxyPool; ApplicationLifetime = applicationLifetime; IsDistributed = !(messageQueue is MessageQueue.MessageQueue); }
public DependenceServices(IServiceProvider serviceProvider, IScheduler scheduler, IMessageQueue messageQueue, IStatisticsClient statisticsClient, IHostApplicationLifetime applicationLifetime, IConfiguration configuration, HostBuilderContext builderContext) { ServiceProvider = serviceProvider; Scheduler = scheduler; MessageQueue = messageQueue; StatisticsClient = statisticsClient; ApplicationLifetime = applicationLifetime; HostBuilderContext = builderContext; Configuration = configuration; }
public AgentService( IMessageQueue messageQueue, IOptions <AgentOptions> options, IHostApplicationLifetime applicationLifetime, IDownloader downloader, HostBuilderContext hostBuilderContext, ILogger <AgentService> logger, IStatisticsClient statisticsClient) { _options = options.Value; _logger = logger; _statisticsClient = statisticsClient; _messageQueue = messageQueue; _applicationLifetime = applicationLifetime; _downloader = downloader; _consumers = new List <AsyncMessageConsumer <byte[]> >(); hostBuilderContext.Properties[Const.DefaultDownloader] = downloader.Name; }
public TeamStatisticsViewModel(ITeamClient teamClient, IStatisticsClient statisticsClient, ITimerService timerService, IEventAggregator eventAggregator, ICacheService cacheService) { _teamClient = teamClient; _statisticsClient = statisticsClient; timerService.Start(TimeSpan.FromSeconds(10), OnRefresh); _eventAggregator = eventAggregator; _cacheService = cacheService; Func<Boolean> canExecute = () => { var password = new NetworkCredential(string.Empty, TeamPassword).Password; return !String.IsNullOrWhiteSpace(TeamName) && !TeamName.Contains(" ") && !String.IsNullOrWhiteSpace(password) && !password.Contains(" "); }; AcceptExistingTeamCommand = new RelayCommand(OnAcceptExistingTeam, canExecute); CreateNewTeamCommand = new RelayCommand(OnCreateNewTeam, canExecute); }
public GDPRApiDemoPageController(IClient searchClient) { _statisticsClient = searchClient.Statistics(); _trackSanitizer = searchClient.TrackSanitizer(); _trackSanitizerPatternRepository = _trackSanitizer.TrackSaniziterRepository; }
public StatisticsController(IStatisticsClient StatisticsClient, ITranslateClient translateClient) { _StatisticsClient = StatisticsClient; _translateClient = translateClient; }