Ejemplo n.º 1
0
 internal override SharedCollection Register <T>()
 {
     if (TypedCollection == null)
     {
         TypedCollection = new SharedObservableBag <T>(GetMasterCollection(), this);
     }
     return((SharedCollection)TypedCollection);
 }
 internal SharedObservableBag(SharedObservableBag <INotifyPropertyChanged> collection, CollectionEntry entry)
     : this(collection.Name, collection.Type, collection.Items, entry)
 {
     this.IsConnected = collection.IsConnected;
 }