AzureMobileAuthN.SampleApp.Core.App.CustomAppStart.Start C# (CSharp) Метод

Start() публичный Метод

public Start ( object hint = null ) : void
hint object
Результат void
            public void Start(object hint = null)
            {
                // TODO: Why is this not working or why did I hard code true?
                // if (!_loginService.IsLoggedIn)
                if (true)
                {
                    // not logged in, so show the plugin's Login experience
                    ShowViewModel<LoginViewModel>();
                }
                else
                {
                    // the name of the View Model to show if already logged in
                    ShowViewModel<HomeViewModel>();
                }
            }
        }
App.CustomAppStart