Beispiel #1
0
 public static UsersContainer GetInstance(MainWindowViewModel vm)
 {
     if (_instance == null)
     {
         _instance = new UsersContainer(vm);
     }
     return(_instance);
 }
Beispiel #2
0
 public XMLUsers()
 {
     if (UsersContainer.GetUsers() == null)
     {
         Users = new List <IUser> {
         };
     }
     else
     {
         Users = new List <IUser>(UsersContainer.GetUsers());
     }
 }