Exemple #1
0
        public static void ClearAuth()
        {
            if (authViewModel != null)
                authViewModel.Cleanup();

            authViewModel = null;
        }
Exemple #2
0
 public static void CreateAuth()
 {
     if (authViewModel == null)
     {
         AuthResult auth;
         IsolatedStorageSettings.ApplicationSettings.TryGetValue<AuthResult>("auth", out auth);
         authViewModel = new AuthenticationViewModel(auth);
     }
 }