public RedemptionActivateTask(IRedemptionActivationService service, IMonitorManager monitorManager) { _redemptionActivationService = service; _monitorManager = monitorManager; _monitor = new MonitorUnit(_monitorManager); }
private Azure(RestClient restClient, string subscriptionId, string tenantId, IAuthenticated authenticated) { resourceManager = ResourceManager.Fluent.ResourceManager.Authenticate(restClient).WithSubscription(subscriptionId); storageManager = StorageManager.Authenticate(restClient, subscriptionId); computeManager = ComputeManager.Authenticate(restClient, subscriptionId); networkManager = NetworkManager.Authenticate(restClient, subscriptionId); batchManager = BatchManager.Authenticate(restClient, subscriptionId); keyVaultManager = KeyVaultManager.Authenticate(restClient, subscriptionId, tenantId); trafficManager = TrafficManager.Fluent.TrafficManager.Authenticate(restClient, subscriptionId); dnsZoneManager = DnsZoneManager.Authenticate(restClient, subscriptionId); sqlManager = SqlManager.Authenticate(restClient, subscriptionId); redisManager = RedisManager.Authenticate(restClient, subscriptionId); cdnManager = CdnManager.Authenticate(restClient, subscriptionId); appServiceManager = AppServiceManager.Authenticate(restClient, subscriptionId, tenantId); searchManager = SearchManager.Authenticate(restClient, subscriptionId); serviceBusManager = ServiceBusManager.Authenticate(restClient, subscriptionId); containerInstanceManager = ContainerInstanceManager.Authenticate(restClient, subscriptionId); registryManager = RegistryManager.Authenticate(restClient, subscriptionId); containerServiceManager = ContainerServiceManager.Authenticate(restClient, subscriptionId); cosmosDBManager = CosmosDBManager.Authenticate(restClient, subscriptionId); authorizationManager = AuthorizationManager.Authenticate(restClient, subscriptionId); msiManager = MsiManager.Authenticate(restClient, subscriptionId); batchAIManager = BatchAIManager.Authenticate(restClient, subscriptionId); monitorManager = MonitorManager.Authenticate(restClient, subscriptionId); eventHubManager = EventHubManager.Authenticate(restClient, subscriptionId); SubscriptionId = subscriptionId; this.authenticated = authenticated; }
public ViewModel(Window mainWin) { _dispatchTimer = new DispatcherTimer(new TimeSpan(0, 0, 5), DispatcherPriority.Normal, OnDispatcherTimer, mainWin.Dispatcher); _dispatchTimer.Stop();; try { _monitorManager = MonitorManagerFactory.GetInstance(); _monitorManager.UpdateMonitors(null); _deviceDetector = DeviceDetector.GetInstance(); _deviceDetector.DeviceAttached += this.OnDeviceNotify; _deviceDetector.DeviceRemoved += this.OnDeviceNotify; } catch (Win32Exception win32Exception) { MessageBox.Show(String.Format("{0} \n StackTrace: \n{1}", win32Exception.Message, win32Exception.StackTrace), win32Exception.ErrorCode.ToString()); } catch (System.TypeLoadException ex) { MessageBox.Show(ex.Message); } }
public Monitoring(ILogger <Monitoring> logger, IMonitorRecorder monitorRecorder, IMonitorManager monitorManager, INotificator notificator, IEmailNotificator emailNotificator) { this.logger = logger; this.monitorRecorder = monitorRecorder; this.monitorManager = monitorManager; this.notificator = notificator; this.emailNotificator = emailNotificator; }
public Notificator(IMonitorManager monitorManager, ApplicationUserManager applicationUserManager, IEmailNotificator emailNotificator, IQueueProvider queue, ILogger <Notificator> logger) { this.monitorManager = monitorManager; this.applicationUserManager = applicationUserManager; this.emailNotificator = emailNotificator; this.queue = queue; this.logger = logger; }
public bool Init(IMonitorManager manager, IMonitorConfig config, IMonitorType type) { mConfig = config; mManager = manager; mType = type; if (!IsInit && Verify(ACOpts.Exec_Init)) { mAlarmManager = new CMonitorAlarmManager(this); mAlarmManager.AlarmQueueLength = mManager.SystemContext.AlarmQueueLength; mAlarmManager.AlarmCheckInterval = mManager.SystemContext.AlarmCheckInterval; mAlarmManager.AutoTransactDelay = mManager.SystemContext.AlarmAutoTransactDelay; mAlarmManager.IsAutoTransact = false; return(InternaInit(true)); } return(false); }
public MonitorsController(IMonitorRepository repository, IMapper mapper, IMonitorManager monitorManager) : base(repository, mapper) { this.repository = repository; this.monitorManager = monitorManager; }
public MonitorsController(IMonitorManager monitorManager, IMapper mapper) { this.monitorManager = monitorManager; this.mapper = mapper; }
public MonitorController(IMonitorManager monitorManager) { _monitorManager = monitorManager; }
public CVisionMonitor(IMonitorManager manager, IMonitorConfig config, IMonitorType type) : base(manager, config, type) { }
public MonitorController(IMonitorManager monitorManager, ILogger <MonitorController> logger) { _monitorManager = monitorManager; _logger = logger; }
public CMonitor(IMonitorManager manager, IMonitorConfig config, IMonitorType type) { mDoMonitorAlarm = DoMonitorAlarm; Init(manager, config, type); }
public MonitorUnit(IMonitorManager monitorManager) { _stopWatch = new Stopwatch(); _monitorManager = monitorManager; }
public CBlobTracker(IMonitorManager manager, IBlobTrackerConfig config, IMonitorType type) : base(manager, config, type) { }
public MonitorRecorder(ILogger <MonitorRecorder> logger, IMonitorManager monitorManager, INotificator notificator) { this.logger = logger; this.monitorManager = monitorManager; this.notificator = notificator; }
public HttpWebAPIService(IRedemptionActivationService service, IMonitorManager monitorManager) { _redemptionActivationService = service; _monitorManager = monitorManager; }
public CVisionUser(IMonitorManager manager, IVisionUserConfig config, IMonitorType type) : base(manager, config, type) { mSyncVisionUserStatisticCallback = new VisionUserStatisticInfo(SyncVisionUserStatisticCallback); }