Пример #1
0
 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;
 }
Пример #2
0
 public AlertService(IOrderRepository orderRepository, IInstrumentRepository instrumentRepository, IAlertRepository alertRepository, IAlertManager alertManager )
 {
     _orderRepository = orderRepository;
     _instrumentRepository = instrumentRepository;
     _alertRepository = alertRepository;
     _alertManager = alertManager;
 }
Пример #3
0
 public HiddenForm(IAlertManager alertManager)
 {
     InitializeComponent();
     Debug.WriteLine($"Entered ctor for {nameof(HiddenForm)}");
     _alertManager = alertManager;
     _now          = DateTime.Now;
 }
Пример #4
0
 public HomeController(IPersonManager personManager, IAlertManager alertManager, INotificationManager notificationManager, IScheduleManager scheduleManager, UserManager <Person> userManager)
 {
     _personManager       = personManager;
     _alertManager        = alertManager;
     _notificationManager = notificationManager;
     _scheduleManager     = scheduleManager;
     _userManager         = userManager;
 }
Пример #5
0
 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;
 }
Пример #6
0
 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());
 }
Пример #7
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (alertManager != null)
     {
         alertManager.Dispose();
         alertManager = null;
     }
 }
Пример #8
0
 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));
 }
Пример #9
0
 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;
 }
Пример #10
0
 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;
 }
Пример #11
0
        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;
 }
Пример #14
0
 /// <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);
 }
Пример #15
0
        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);
        }
Пример #16
0
 /// <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;
 }
Пример #17
0
 public WebProbe(IAlertManager alertManager)
 {
     _alertManager = alertManager;
 }
Пример #18
0
 /// <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;
 }
Пример #19
0
 public Toaster(IAlertManager message)
 {
     _message = message ?? throw new ArgumentNullException(nameof(message));
 }
Пример #20
0
 /// <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;
 }
Пример #22
0
 public Signifyd(IAlertManager alertManager) : base(alertManager)
 {
 }
Пример #23
0
 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));
 }
Пример #27
0
 public PageAlertsViewComponent(IAlertManager alertManager)
 {
     _alertManager = alertManager;
 }
Пример #28
0
 public ServicesProbe(IAlertManager alertManager)
 {
     _alertManager = alertManager;
 }
Пример #29
0
 public WibotServices(IAlertManager alertManager) : base(alertManager)
 {
 }
Пример #30
0
 public ApiController(IAlertManager alertManager)
 {
     _alertManager = alertManager;
 }
Пример #31
0
 public FormAlertController(IAlertManager alertManager)
 {
     this.alertManager = alertManager;
 }
Пример #32
0
 public RepoCommon(IDbContext db, IAlertManager alertManager = null)
 {
     this.db           = db;
     this.alertManager = (alertManager != null) ? alertManager : null;
 }