- Timestamp:
- 04/30/10 02:48:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemArray.cs
r3550 r3560 55 55 } 56 56 57 [Storable]58 private IObservableArray<T> Items {59 get { return array; }60 set { array = value; }61 }62 63 57 public ReadOnlyItemArray() : base(new ItemArray<T>()) { } 64 58 public ReadOnlyItemArray(IItemArray<T> array) : base(array) { } 65 59 [StorableConstructor] 66 protected ReadOnlyItemArray(bool deserializing) { } 67 68 [StorableHook(HookType.AfterDeserialization)] 69 private void Initialize() { 70 RegisterEvents(); 71 } 60 protected ReadOnlyItemArray(bool deserializing) : base(deserializing) { } 72 61 73 62 public object Clone() { … … 78 67 cloner.RegisterClonedObject(this, clone); 79 68 clone.array = (IItemArray<T>)((IItemArray<T>)array).Clone(cloner); 80 clone. Initialize();69 clone.RegisterEvents(); 81 70 return clone; 82 71 }
Note: See TracChangeset
for help on using the changeset viewer.