Microsoft.HockeyApp.AuthManager.ExecuteSuccessRedirectOrAction C# (CSharp) Method

ExecuteSuccessRedirectOrAction() private method

private ExecuteSuccessRedirectOrAction ( ) : void
return void
        internal async void ExecuteSuccessRedirectOrAction()
        {
            if (this.SuccessAction != null)
            {
                await CoreWindow.GetForCurrentThread().Dispatcher.RunAsync(CoreDispatcherPriority.Normal, new DispatchedHandler(this.SuccessAction));
            }
            if (this.SuccessRedirectPageType != null)
            {
                await CoreWindow.GetForCurrentThread().Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
                {
                    this.Frame.Navigate(this.SuccessRedirectPageType);
                });
            }
        }