Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/30/10 02:48:19 (14 years ago)
Author:
swagner
Message:

Fixed persistence exceptions by restoring the reference on HeuristicLab.Persistence in HeuristicLab.Collections (#977)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Collections/3.3/ObservableDictionary.cs

    r3390 r3560  
    2525using System.ComponentModel;
    2626using System.Linq;
     27using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2728
    2829namespace HeuristicLab.Collections {
     30  [StorableClass]
    2931  [Serializable]
    3032  public class ObservableDictionary<TKey, TValue> : IObservableDictionary<TKey, TValue> {
     33    [Storable]
    3134    protected Dictionary<TKey, TValue> dict;
    3235
     
    8487      dict = new Dictionary<TKey, TValue>(dictionary, comparer);
    8588    }
     89    [StorableConstructor]
     90    protected ObservableDictionary(bool deserializing) { }
    8691    #endregion
    8792
Note: See TracChangeset for help on using the changeset viewer.