This page allows other applications to share content through this application.
Inheritance: StreetFoo.Client.UI.Common.LayoutAwarePage
        /// <summary>
        /// Invoked when the application is activated as the target of a sharing operation.
        /// </summary>
        /// <param name="args">Details about the activation request.</param>
        protected override async void OnShareTargetActivated(Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs args)
        {
            try
            {
                // start...
                await StreetFooRuntime.Start("Client");

                // logon?
                var logon = TinyIoCContainer.Current.Resolve <ILogonPageViewModel>();
                logon.Initialize(new NullViewModelHost());
                if (await logon.RestorePersistentLogonAsync())
                {
                    var shareTargetPage = new ShareTargetPage();
                    shareTargetPage.Activate(args);
                }
                else
                {
                    var notLoggedOnPage = new NotLoggedOnPage();
                    notLoggedOnPage.Activate(args);
                }
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
                throw ex;
            }
        }
        /// <summary>
        /// Invoked when the application is activated as the target of a sharing operation.
        /// </summary>
        /// <param name="args">Details about the activation request.</param>
        protected override async void OnShareTargetActivated(Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs args)
        {
            try
            {
                // start...
                await StreetFooRuntime.Start("Client");

                // logon?
                var logon = TinyIoCContainer.Current.Resolve<ILogonPageViewModel>();
                logon.Initialize(new NullViewModelHost());
                if (await logon.RestorePersistentLogonAsync())
                {
                    var shareTargetPage = new ShareTargetPage();
                    shareTargetPage.Activate(args);
                }
                else
                {
                    var notLoggedOnPage = new NotLoggedOnPage();
                    notLoggedOnPage.Activate(args);
                }
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
                throw ex;
            }
        }