/// <summary>
 /// Current list for User items.
 /// </summary>
 ///
 public void LoadItem(List <Animal> items)
 {
     Obs.Clear();
     foreach (var item in items)
     {
         Obs.Add(item);
     }
 }
 void SomeMethod( )
 {
     Obs.Add("item");
     Obs.Clear( );
 }
Пример #3
0
 public override void AddObserver(Observer first)
 {
     Obs.Add(first);
 }