Пример #1
0
 public static void RemoveCredential(CredentialInfo credential)
 {
     // Possible fix for appcrash --> when icollection view is refreshed...
     Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(delegate
     {
         lock (Credentials)
             Credentials.Remove(credential);
     }));
 }
Пример #2
0
 public static void RemoveCredential(CredentialInfo credential)
 {
     Credentials.Remove(credential);
 }
Пример #3
0
 public static void AddCredential(CredentialInfo credential)
 {
     Credentials.Add(credential);
 }