コード例 #1
0
 internal override SharedCollection Register <T>()
 {
     if (TypedCollection == null)
     {
         TypedCollection = new SharedObservableBag <T>(GetMasterCollection(), this);
     }
     return((SharedCollection)TypedCollection);
 }
コード例 #2
0
 internal SharedObservableBag(SharedObservableBag <INotifyPropertyChanged> collection, CollectionEntry entry)
     : this(collection.Name, collection.Type, collection.Items, entry)
 {
     this.IsConnected = collection.IsConnected;
 }