Changeset 2832 for trunk/sources
- Timestamp:
- 02/19/10 02:42:07 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Collections/3.3
- Files:
-
- 5 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Collections/3.3/HeuristicLab.Collections-3.3.csproj
r2803 r2832 67 67 <ItemGroup> 68 68 <None Include="HeuristicLabCollectionsPlugin.cs.frame" /> 69 <Compile Include="INotifyObservableListItemsChanged.cs" /> 70 <Compile Include="INotifyObservableKeyedCollectionItemsChanged.cs" /> 71 <Compile Include="INotifyObservableDictionaryItemsChanged.cs" /> 72 <Compile Include="INotifyObservableCollectionItemsChanged.cs" /> 73 <Compile Include="INotifyObservableArrayItemsChanged.cs" /> 69 74 <Compile Include="ReadOnlyObservableArray.cs" /> 70 75 <Compile Include="ObservableArray.cs" /> -
trunk/sources/HeuristicLab.Collections/3.3/IObservableArray.cs
r2790 r2832 24 24 25 25 namespace HeuristicLab.Collections { 26 public interface IObservableArray<T> : IList<T>, INotify PropertyChanged {26 public interface IObservableArray<T> : IList<T>, INotifyObservableArrayItemsChanged<T>, INotifyPropertyChanged { 27 27 int Length { get; } 28 29 event CollectionItemsChangedEventHandler<IndexedItem<T>> ItemsReplaced;30 event CollectionItemsChangedEventHandler<IndexedItem<T>> ItemsMoved;31 event CollectionItemsChangedEventHandler<IndexedItem<T>> CollectionReset;32 28 } 33 29 } -
trunk/sources/HeuristicLab.Collections/3.3/IObservableCollection.cs
r2790 r2832 24 24 25 25 namespace HeuristicLab.Collections { 26 public interface IObservableCollection<T> : ICollection<T>, INotifyPropertyChanged { 27 event CollectionItemsChangedEventHandler<T> ItemsAdded; 28 event CollectionItemsChangedEventHandler<T> ItemsRemoved; 29 event CollectionItemsChangedEventHandler<T> CollectionReset; 30 } 26 public interface IObservableCollection<T> : ICollection<T>, INotifyObservableCollectionItemsChanged<T>, INotifyPropertyChanged { } 31 27 } -
trunk/sources/HeuristicLab.Collections/3.3/IObservableDictionary.cs
r2790 r2832 23 23 24 24 namespace HeuristicLab.Collections { 25 public interface IObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IObservableCollection<KeyValuePair<TKey, TValue>> { 26 event CollectionItemsChangedEventHandler<KeyValuePair<TKey, TValue>> ItemsReplaced; 27 } 25 public interface IObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IObservableCollection<KeyValuePair<TKey, TValue>>, INotifyObservableDictionaryItemsChanged<TKey, TValue> { } 28 26 } -
trunk/sources/HeuristicLab.Collections/3.3/IObservableKeyedCollection.cs
r2790 r2832 21 21 22 22 namespace HeuristicLab.Collections { 23 public interface IObservableKeyedCollection<TKey, TItem> : IObservableCollection<TItem> {23 public interface IObservableKeyedCollection<TKey, TItem> : IObservableCollection<TItem>, INotifyObservableKeyedCollectionItemsChanged<TKey, TItem> { 24 24 TItem this[TKey key] { get; } 25 25 … … 28 28 29 29 bool Remove(TKey key); 30 31 event CollectionItemsChangedEventHandler<TItem> ItemsReplaced;32 30 } 33 31 } -
trunk/sources/HeuristicLab.Collections/3.3/IObservableList.cs
r2790 r2832 23 23 24 24 namespace HeuristicLab.Collections { 25 public interface IObservableList<T> : IList<T>, IObservableCollection<T> { 26 new event CollectionItemsChangedEventHandler<IndexedItem<T>> ItemsAdded; 27 new event CollectionItemsChangedEventHandler<IndexedItem<T>> ItemsRemoved; 28 event CollectionItemsChangedEventHandler<IndexedItem<T>> ItemsReplaced; 29 event CollectionItemsChangedEventHandler<IndexedItem<T>> ItemsMoved; 30 new event CollectionItemsChangedEventHandler<IndexedItem<T>> CollectionReset; 31 } 25 public interface IObservableList<T> : IList<T>, IObservableCollection<T>, INotifyObservableListItemsChanged<T> { } 32 26 } -
trunk/sources/HeuristicLab.Collections/3.3/ObservableList.cs
r2830 r2832 382 382 [field: NonSerialized] 383 383 private event CollectionItemsChangedEventHandler<T> itemsAdded; 384 event CollectionItemsChangedEventHandler<T> I ObservableCollection<T>.ItemsAdded {384 event CollectionItemsChangedEventHandler<T> INotifyObservableCollectionItemsChanged<T>.ItemsAdded { 385 385 add { itemsAdded += value; } 386 386 remove { itemsAdded -= value; } … … 400 400 [field: NonSerialized] 401 401 private event CollectionItemsChangedEventHandler<T> itemsRemoved; 402 event CollectionItemsChangedEventHandler<T> I ObservableCollection<T>.ItemsRemoved {402 event CollectionItemsChangedEventHandler<T> INotifyObservableCollectionItemsChanged<T>.ItemsRemoved { 403 403 add { itemsRemoved += value; } 404 404 remove { itemsRemoved -= value; } … … 432 432 [field: NonSerialized] 433 433 private event CollectionItemsChangedEventHandler<T> collectionReset; 434 event CollectionItemsChangedEventHandler<T> I ObservableCollection<T>.CollectionReset {434 event CollectionItemsChangedEventHandler<T> INotifyObservableCollectionItemsChanged<T>.CollectionReset { 435 435 add { collectionReset += value; } 436 436 remove { collectionReset -= value; } -
trunk/sources/HeuristicLab.Collections/3.3/ReadOnlyObservableList.cs
r2790 r2832 121 121 [field: NonSerialized] 122 122 private event CollectionItemsChangedEventHandler<T> itemsAdded; 123 event CollectionItemsChangedEventHandler<T> I ObservableCollection<T>.ItemsAdded {123 event CollectionItemsChangedEventHandler<T> INotifyObservableCollectionItemsChanged<T>.ItemsAdded { 124 124 add { itemsAdded += value; } 125 125 remove { itemsAdded -= value; } … … 139 139 [field: NonSerialized] 140 140 private event CollectionItemsChangedEventHandler<T> itemsRemoved; 141 event CollectionItemsChangedEventHandler<T> I ObservableCollection<T>.ItemsRemoved {141 event CollectionItemsChangedEventHandler<T> INotifyObservableCollectionItemsChanged<T>.ItemsRemoved { 142 142 add { itemsRemoved += value; } 143 143 remove { itemsRemoved -= value; } … … 171 171 [field: NonSerialized] 172 172 private event CollectionItemsChangedEventHandler<T> collectionReset; 173 event CollectionItemsChangedEventHandler<T> I ObservableCollection<T>.CollectionReset {173 event CollectionItemsChangedEventHandler<T> INotifyObservableCollectionItemsChanged<T>.CollectionReset { 174 174 add { collectionReset += value; } 175 175 remove { collectionReset -= value; }
Note: See TracChangeset
for help on using the changeset viewer.