- Timestamp:
- 04/30/10 02:48:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Collections/3.3/ReadOnlyObservableList.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 ReadOnlyObservableList<T> : IObservableList<T> { 32 [Storable] 30 33 protected IObservableList<T> list; 31 34 … … 54 57 RegisterEvents(); 55 58 } 59 [StorableConstructor] 60 protected ReadOnlyObservableList(bool deserializing) { } 56 61 #endregion 57 62 … … 103 108 104 109 #region Events 110 [StorableHook(HookType.AfterDeserialization)] 105 111 protected void RegisterEvents() { 106 112 list.ItemsAdded += new CollectionItemsChangedEventHandler<IndexedItem<T>>(list_ItemsAdded);
Note: See TracChangeset
for help on using the changeset viewer.