Example #1
0
        /// <summary>
        /// Initializes a new instance of the AlertsLogic class.
        /// </summary>
        /// <param name="alertsRepository">
        /// The IAlertsRepository implementation that the new instance will use.
        /// </param>
        public AlertsLogic(IAlertsRepository alertsRepository)
        {
            if (alertsRepository == null)
            {
                throw new ArgumentNullException("alertsRepository");
            }

            this.alertsRepository = alertsRepository;
        }
        /// <summary>
        /// Initializes a new instance of the AlertsLogic class.
        /// </summary>
        /// <param name="alertsRepository">
        /// The IAlertsRepository implementation that the new instance will use.
        /// </param>
        public AlertsLogic(IAlertsRepository alertsRepository)
        {
            if (alertsRepository == null)
            {
                throw new ArgumentNullException("alertsRepository");
            }

            this.alertsRepository = alertsRepository;
        }
Example #3
0
        /// <summary>
        /// Initializes a new instance of the AlertsLogic class.
        /// </summary>
        /// <param name="alertsRepository">
        /// The IAlertsRepository implementation that the new instance will use.
        /// </param>
        public AlertsLogic(IAlertsRepository alertsRepository)
        {
            if (alertsRepository == null)
            {
                throw new ArgumentNullException(nameof(alertsRepository));
            }

            _alertsRepository = alertsRepository;
        }
 public GetNewNotificationsExpiringInventory(IAlertsRepository alertsRepository)
 {
     _alertsRepository = alertsRepository;
 }
Example #5
0
 public AlertController(
     IAlertsRepository alertsRepository
     )
 {
     _alertRepository = alertsRepository;
 }
 public GetNewNotificationsShipmentChanged(IAlertsRepository alertsRepository)
 {
     _alertsRepository = alertsRepository;
 }