public UcwaResourceParticipant(UcwaEvent e) : base(e.Resource == null? e.OuterXml : e.Resource.OuterXml)
 {
     if (e.Resource == null)
     {
         ; //debug the hack
     }
 }
 async void ShowEventsBySener(string sender, UcwaEvent eventData)
 {
     if (this.OnProgressReported != null)
     {
         string msg = "Events raised by " + sender + ":\r\n";
         msg += "\tName=" + eventData.Name + " Type=" + eventData.Type + "\r\n";
         msg += "\tUri=" + eventData.Uri + "\r\n";
         await UcwaAppUtils.DispatchEventToUI(Windows.UI.Core.CoreDispatcherPriority.Normal,
                                              new DispatchedHandler(() => { this.OnProgressReported(msg); }));
     }
 }
 public UcwaResourceMessageInvitation(UcwaEvent e) : base(e.Resource.OuterXml)
 {
 }
 public UcwaResourceMessage(UcwaEvent e) : base(e.Resource.OuterXml)
 {
 }
 public UcwaResourceCommunication(UcwaEvent e) : base(e.Resource.OuterXml)
 {
 }