예제 #1
0
 public ReadOnlyObservableArray(IObservableArray <T> array)
 {
     if (array == null)
     {
         throw new ArgumentNullException();
     }
     this.array = array;
     RegisterEvents();
 }
예제 #2
0
 public OneToManyMapper(IObservableArray <T1> observed, Func <T1, T2[]> mapping)
 {
     observed.AddObserver(this);
     this.mapping = mapping;
 }