wenku10.Pages.Sharers.ScriptDetails.UploadReturn C# (CSharp) Method

UploadReturn() private method

private UploadReturn ( string Id, string Token ) : void
Id string
Token string
return void
        private async void UploadReturn( string Id, string Token )
        {
            AccessToken = Token;

            HubScriptItem HSI = await LoadFromSHHub( Id, Token );

            // We are in BookInfoView
            if ( !( ParentFrame == null || HSI == null ) )
            {
                ParentFrame.Content = new ScriptDetails( HSI, ParentFrame );
            }
            // We are in LocalModeTextList
            else if ( HSI != null )
            {
                // Since we cannot set the Content property here anymore
                // We call for help
                MessageBus.SendUI( GetType(), AppKeys.HS_DETAIL_VIEW, HSI );
            }
        }