Пример #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);
         }
     }
 }
Пример #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);
     }
 }