/// <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
파일: Noot.cs 프로젝트: darkarki83/.NET
 public override void AddObserver(Observer first)
 {
     Obs.Add(first);
 }