/// <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(); } }
public CloseInterceptItem(MasterSessionItem MasterItem) : this() { this.MasterItem = MasterItem; }
public HostNotificationItem(MasterSessionItem MasterItem) : this() { this.MasterItem = MasterItem; }