- Timestamp:
- 04/30/10 02:48:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Collections/3.3/ReadOnlyObservableArray.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 ReadOnlyObservableArray<T> : IObservableArray<T> { 32 [Storable] 30 33 protected IObservableArray<T> array; 31 34 … … 57 60 RegisterEvents(); 58 61 } 62 [StorableConstructor] 63 protected ReadOnlyObservableArray(bool deserializing) { } 59 64 #endregion 60 65 … … 106 111 107 112 #region Events 113 [StorableHook(HookType.AfterDeserialization)] 108 114 protected void RegisterEvents() { 109 115 array.ItemsReplaced += new CollectionItemsChangedEventHandler<IndexedItem<T>>(array_ItemsReplaced);
Note: See TracChangeset
for help on using the changeset viewer.