- Timestamp:
- 04/30/10 02:48:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Collections/3.3/ReadOnlyObservableKeyedCollection.cs
r3390 r3560 24 24 using System.Collections.Generic; 25 25 using System.ComponentModel; 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 27 27 28 namespace HeuristicLab.Collections { 29 [StorableClass] 28 30 [Serializable] 29 31 public class ReadOnlyObservableKeyedCollection<TKey, TItem> : IObservableKeyedCollection<TKey, TItem> { 32 [Storable] 30 33 protected IObservableKeyedCollection<TKey, TItem> collection; 31 34 … … 52 55 RegisterEvents(); 53 56 } 57 [StorableConstructor] 58 protected ReadOnlyObservableKeyedCollection(bool deserializing) { } 54 59 #endregion 55 60 … … 100 105 101 106 #region Events 107 [StorableHook(HookType.AfterDeserialization)] 102 108 protected void RegisterEvents() { 103 109 collection.ItemsAdded += new CollectionItemsChangedEventHandler<TItem>(collection_ItemsAdded);
Note: See TracChangeset
for help on using the changeset viewer.