Ejemplo n.º 1
0
        public static void ClearAuth()
        {
            if (authViewModel != null)
                authViewModel.Cleanup();

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