public AimTimersViewModel( IDateTimeProvider dateTimeProvider, ITimer timer, IAimTimerNotificationService aimTimerNotificationService, INavigation navigation, IAlertManager alertManager, IMessagingCenter messagingCenter, IViewFactory viewFactory, IAimTimerService aimTimerService, IAimTimerListItemViewModelFactory aimTimerItemViewModelFactory, IAimTimerViewModelFactory aimTimerViewModelFactory, Func <DateTime, IAimTimer> aimTimerFactory, Func <IAimTimer, IAimTimerItem> aimTimerItemFactory) { _dateTimeProvider = dateTimeProvider; _timer = timer; _aimTimerNotificationService = aimTimerNotificationService; _navigation = navigation; _alertManager = alertManager; _messagingCenter = messagingCenter; _viewFactory = viewFactory; _aimTimerService = aimTimerService; _aimTimerItemViewModelFactory = aimTimerItemViewModelFactory; _aimTimerViewModelFactory = aimTimerViewModelFactory; _aimTimerFactory = aimTimerFactory; _aimTimerItemFactory = aimTimerItemFactory; }
public AlertService(IOrderRepository orderRepository, IInstrumentRepository instrumentRepository, IAlertRepository alertRepository, IAlertManager alertManager ) { _orderRepository = orderRepository; _instrumentRepository = instrumentRepository; _alertRepository = alertRepository; _alertManager = alertManager; }
public HiddenForm(IAlertManager alertManager) { InitializeComponent(); Debug.WriteLine($"Entered ctor for {nameof(HiddenForm)}"); _alertManager = alertManager; _now = DateTime.Now; }
public HomeController(IPersonManager personManager, IAlertManager alertManager, INotificationManager notificationManager, IScheduleManager scheduleManager, UserManager <Person> userManager) { _personManager = personManager; _alertManager = alertManager; _notificationManager = notificationManager; _scheduleManager = scheduleManager; _userManager = userManager; }
public ProcessingUnit(IVitalsRepository vitalsRepo, IAlertManager alertManager, IVitalsAlertManager vitalsManager, IAdmissionRepository admissionRepository) { m_queue = SharedQueue.Instance; m_vitalsRepository = vitalsRepo; m_validator = new VitalsRangeValidator(admissionRepository); m_alertManager = alertManager; m_vitalsManager = vitalsManager; }
public void TestInitialize() { countFinal = 0; alertMock = new MockAlertManager(ref countFinal); vitalsMock = new MockVitalsAlertManager(); vitalsRepo = new VitalsRepository(true); m_processor = new Processor.ProcessingUnitLib.ProcessingUnit(vitalsRepo, alertMock, vitalsMock, new MockAdmissionRepo()); }
protected override void Dispose(bool disposing) { base.Dispose(disposing); if (alertManager != null) { alertManager.Dispose(); alertManager = null; } }
public SawmillApplication( ILogEntryProvider logEntryProvider, IAlertManager alertManager, IStatisticsManager statistiscManager) { this.StatisticsManager = statistiscManager ?? throw new ArgumentNullException(nameof(statistiscManager)); this.AlertManager = alertManager ?? throw new ArgumentNullException(nameof(alertManager)); this.LogEntryProvider = logEntryProvider ?? throw new ArgumentNullException(nameof(logEntryProvider)); }
public MessagingService(DiscordShardedClient discord, IAlertManager alertManager, IStatisticsManager statisticsManager, DiscordService discordService, IOptions <BotSettings> botSettings, FileService fileService) { _discord = discord; _alertManager = alertManager; _statisticsManager = statisticsManager; _discordService = discordService; _botSettings = botSettings.Value; _fileService = fileService; }
protected BaseController( UserManager <IdentityUser, Guid> userManager, PersonManager <Admin> adminManager, PersonManager <Advisor> advisorManager, PersonManager <Employer> employerManager, AlertManager alertManager, ReportPassingManager reportPassingManager, IMailingService mailingService) { this.userManager = userManager; this.adminManager = adminManager; this.advisorManager = advisorManager; this.employerManager = employerManager; this.alertManager = alertManager; this.mailingService = mailingService; this.reportPassingManager = reportPassingManager; }
public SocketServiceManager(IUserManager userManager, IAlertManager alertManager, ISubscriptionManager subscriptionManager, ISymbolManager symbolManager, IPriceManager priceManager) { _userManager = userManager; _alertManager = alertManager; _subscriptionManager = subscriptionManager; _symbolManager = symbolManager; _priceManager = priceManager; Users = new List <UserModel>(); Symbols = new List <SymbolModel>(); Prices = new List <PriceModel>(); SymbolSubscriptions = new List <SubscriptionModel>(); SymbolAlerts = new List <AlertModel>(); SymbolSockets = new Dictionary <string, WebSocket>(); }
public AimTimerListItemViewModelFactory( IDateTimeProvider dateTimeProvider, IAlertManager alertManager, INavigation navigation, IMessagingCenter messagingCenter, IAimTimerService aimTimerService, IViewFactory viewFactory, IAimTimerIntervalListItemViewModelFactory aimTimerIntervalListItemViewModelFactory, Func <IAimTimerItem, DateTime, DateTime?, IAimTimerInterval> aimTimerIntervalFactory, Func <IAimTimerItem, IAimTimerInterval, IAimTimerIntervalViewModel> aimTimerIntervalViewModelFactory) { _dateTimeProvider = dateTimeProvider; _alertManager = alertManager; _navigation = navigation; _messagingCenter = messagingCenter; _aimTimerService = aimTimerService; _viewFactory = viewFactory; _aimTimerIntervalListItemViewModelFactory = aimTimerIntervalListItemViewModelFactory; _aimTimerIntervalFactory = aimTimerIntervalFactory; _aimTimerIntervalViewModelFactory = aimTimerIntervalViewModelFactory; }
/// <summary> /// Initializes a new instance of the <see cref="AlertDetailController"/> class. /// </summary> /// <param name="alertManager">The alert manager.</param> public AlertDetailController(IAlertManager alertManager) { this.alertManager = alertManager; }
/// <summary> /// Initializes a new instance of the <see cref="AlertManagerTests"/> class. /// </summary> public AlertManagerTests() { this.alertData = new Mock<IAlertData>(); this.alertManager = new AlertManager(this.alertData.Object); }
private void Init() { _userProfileDAO = new GenericDAO<UserProfile>(); _gameStockConfig = new StockGameConfiguration(); _orderDAO = new GenericDAO<Order>(); _instrumentDAO = new GenericDAO<Instrument>(); _instrumentHistoryDAO = new GenericDAO<InstrumentHistory>(); _alertDAO = new GenericDAO<Alert>(); _instrumentRepository = new InstrumentRepository(_instrumentDAO, _instrumentHistoryDAO); _orderRepository = new OrderRepository(_orderDAO,_instrumentDAO); _alertRepository = new AlertRepository(_alertDAO, _instrumentDAO); _ldapService = new FakeLdapService(_gameStockConfig); _ldapService.Init(); _notificationtDAO = new GenericDAO<Notification>(); _notificationRepository = new NotificationRepository(_notificationtDAO); _notificationManager = new NotificationManager(_notificationRepository); _alertManager = new AlertManager(_notificationManager, _alertRepository); _userManager = new UserManager(_userProfileDAO, _ldapService); _alertService = new AlertService(_orderRepository, _instrumentRepository, _alertRepository, _alertManager); }
/// <summary> /// Initializes a new instance of the <see cref="PassengerController" /> class. /// </summary> /// <param name="personManager">The person manager.</param> /// <param name="alertManager">The alert manager.</param> public PassengerController(IPersonManager personManager, IAlertManager alertManager) { this.personManager = personManager; this.alertManager = alertManager; }
public WebProbe(IAlertManager alertManager) { _alertManager = alertManager; }
/// <summary> /// Initializes a new instance of the <see cref="AlertController"/> class. /// </summary> /// <param name="manager">The manager.</param> /// <param name="personManager">The person manager.</param> public AlertController(IAlertManager manager, IPersonManager personManager) { this.alertManager = manager; this.personManager = personManager; }
public Toaster(IAlertManager message) { _message = message ?? throw new ArgumentNullException(nameof(message)); }
/// <summary> /// Initializes a new instance of the <see cref="VisitorController"/> class. /// </summary> /// <param name="manager">The manager.</param> /// <param name="alertManager">The alert manager.</param> public VisitorController(IVisitorManager manager, IAlertManager alertManager) { this.visitorManager = manager; this.alertManager = alertManager; }
public AlertMessageRendererManager(IEnumerable <IAlertMessageRenderer> alertMessageRenderers, IAlertManager AlertManager) { _alertMessageRenderers = alertMessageRenderers; _alertManager = AlertManager; }
public Signifyd(IAlertManager alertManager) : base(alertManager) { }
public Monitis(IAlertManager alertManager) { _alertManager = alertManager; }
/// <summary> /// ctor /// </summary> /// <param name="runtimeSettings">Runtime settings object</param> /// <param name="logger">Logger object</param> /// <param name="fileManager">File system manager</param> public AlerterService(IRuntimeSettings runtimeSettings, IAppLogger logger, IFileManager fileManager) { InitializeComponent(); _logger = logger; _alertManager = new AlertManager(runtimeSettings, _logger, fileManager); }
public RepoGenericAbstract(IDbContext db, IAlertManager alertManager = null) { this.db = db; this.dbSet = db.Set <TEntity>(); this.alertManager = alertManager; }
/// <summary> /// Invokes the hidden form, see the form's code for the adjustments to the form's behavior and listeners /// </summary> /// <param name="alertManager"></param> private void RunMessagePump(IAlertManager alertManager) { Application.Run(new HiddenForm(alertManager)); }
public PageAlertsViewComponent(IAlertManager alertManager) { _alertManager = alertManager; }
public ServicesProbe(IAlertManager alertManager) { _alertManager = alertManager; }
public WibotServices(IAlertManager alertManager) : base(alertManager) { }
public ApiController(IAlertManager alertManager) { _alertManager = alertManager; }
public FormAlertController(IAlertManager alertManager) { this.alertManager = alertManager; }
public RepoCommon(IDbContext db, IAlertManager alertManager = null) { this.db = db; this.alertManager = (alertManager != null) ? alertManager : null; }