コード例 #1
0
 /// <summary>
 /// Takes user to the <see cref="LoginPage"/>.
 /// </summary>
 /// <param name="parameter">Object containing register information.</param>
 /// <returns></returns>
 public async Task Login()
 {
     IocContainer.Get <ApplicationViewModel>().GoToPage(ApplicationPage.Login);
 }
コード例 #2
0
 /// <summary>
 /// Takes user to the <see cref="RegisterPage"/>.
 /// </summary>
 /// <param name="parameter">Object containing register information.</param>
 /// <returns></returns>
 public async Task Register()
 {
     IocContainer.Get <ApplicationViewModel>().GoToPage(ApplicationPage.Register);
 }