Beispiel #1
0
 protected virtual void DispatchCallback(Action <PushRegistrationResponse> callback, PushRegistrationResponse response)
 {
     if (callback != null)
     {
         if (this.dispatcher != null)
         {
             this.dispatcher.BeginInvoke(() => callback(response));
         }
         else
         {
             callback(response);
         }
     }
 }
Beispiel #2
0
 protected virtual void DispatchCallback(Action<PushRegistrationResponse> callback, PushRegistrationResponse response)
 {
     if (callback != null)
     {
         if (this.dispatcher != null)
             this.dispatcher.BeginInvoke(() => callback(response));
         else
             callback(response);
     }
 }