Пример #1
0
        public override void OnNavigatedTo(Prism.Navigation.NavigationParameters parameters)
        {
            base.OnNavigatedTo(parameters);

            mText = parameters.GetValue <string>("text");
            Debug.WriteLine(mText);
        }
        /// <summary>
        /// Ons the navigated to.
        /// </summary>
        /// <param name="parameters">Parameters.</param>
        public override void OnNavigatedTo(Prism.Navigation.NavigationParameters parameters)
        {
            this.Properties = parameters.GetValue <PropertyViewModel>(MagicStrings.Lease);

            this.ExecuteAsyncTask(async() =>
            {
                await Task.WhenAll(new Task[] {
                    this.LoadAccountStatement(),
                    this.LoadCurrentBalance(),
                });
            }).Forget();

            base.OnNavigatedTo(parameters);
        }