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