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/ObservableSet.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 ObservableSet<T> : IObservableSet<T> {
     33    [Storable]
    3134    protected HashSet<T> set;
    3235
     
    5659      set = new HashSet<T>(collection, comparer);
    5760    }
     61    [StorableConstructor]
     62    protected ObservableSet(bool deserializing) { }
    5863    #endregion
    5964
Note: See TracChangeset for help on using the changeset viewer.