Пример #1
0
 public void Add(IUser user)
 {
     users.Add(user);
     SaveForBinary();
     UserContainerChanged?.Invoke(this, null);
 }
Пример #2
0
 public void Remove(IUser user)
 {
     users.Remove(user);
     UserContainerChanged?.Invoke(this, null);
 }
Пример #3
0
 private void OnUserContainerChanged(Object sender, EventArgs args)
 {
     UserContainerChanged?.Invoke(sender, args);
 }