public NotificationModel(XNotification notification) { this.Id = notification.Id; this.Read = notification.Read; this.SendBySMS = notification.SendBySMS; this.Title = notification.Title; this.Body = notification.Body; this.CreatedTime = notification.CreatedTime; }
void eventListener_OnXEventReceived(object sender, XNotification type, Dictionary<string, object> parameters) { MessageBox.Show("EventListener captured event : " + type.ToString()); }