コード例 #1
0
 public RegistrationViewModel()
 {
     context         = new GallaryContext();
     emailReg        = new Regex(@"^([\w\.\-]+)@([a-z\-]+)((\.([a-z]){2,3})+)$");
     Password        = "";
     ConfirmPassword = "";
 }
コード例 #2
0
 private async void GetDataFromDBAsync()
 {
     await Task.Run(() =>
     {
         context = new GallaryContext();
         Users   = context.Users.ToList <User>();
     });
 }