Ejemplo n.º 1
0
        /// <summary>
        /// Find the session in this list of Host notification sessions. If found and if
        /// notification is active, stop notification.
        /// </summary>
        /// <param name="MasterItem"></param>
        public void StopNotification(MasterSessionItem MasterItem)
        {
            var found = this.FirstOrDefault(c => c.ItemId == MasterItem.ItemId);

            if ((found != null) && (found.NotificationIsStarted == true))
            {
                found.StopNotification();
            }
        }
Ejemplo n.º 2
0
 public CloseInterceptItem(MasterSessionItem MasterItem)
     : this()
 {
     this.MasterItem = MasterItem;
 }
 public HostNotificationItem(MasterSessionItem MasterItem)
     : this()
 {
     this.MasterItem = MasterItem;
 }