Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Collections/KeyedItemCollection.cs

    r16453 r16462  
    2525using HeuristicLab.Collections;
    2626using HeuristicLab.Common;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Core {
    3030  [Item("KeyedItemCollection", "Represents a keyed collection of items.")]
    31   [StorableClass]
     31  [StorableType("176A9538-58A6-4D3F-9590-26FC37E2BA04")]
    3232  public abstract class KeyedItemCollection<TKey, TItem> : ObservableKeyedCollection<TKey, TItem>, IKeyedItemCollection<TKey, TItem> where TItem : class, IItem {
    3333    public virtual string ItemName {
     
    4848
    4949    [StorableConstructor]
    50     protected KeyedItemCollection(bool deserializing) : base(deserializing) { }
     50    protected KeyedItemCollection(StorableConstructorFlag _) : base(_) { }
    5151    protected KeyedItemCollection(KeyedItemCollection<TKey, TItem> original, Cloner cloner) {
    5252      cloner.RegisterClonedObject(original, this);
Note: See TracChangeset for help on using the changeset viewer.