コード例 #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
ファイル: PushClient.cs プロジェクト: wadewegner/TechEd_NZAU
 protected virtual void DispatchCallback(Action<PushRegistrationResponse> callback, PushRegistrationResponse response)
 {
     if (callback != null)
     {
         if (this.dispatcher != null)
             this.dispatcher.BeginInvoke(() => callback(response));
         else
             callback(response);
     }
 }