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.Operators/3.3/Operator.cs

    r16453 r16462  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Operators {
     
    3333  /// </summary>
    3434  [Item("Operator", "Base class for operators.")]
    35   [StorableClass]
     35  [StorableType("6AC01841-FF13-41B5-87E4-181F10D08835")]
    3636  public abstract partial class Operator : ParameterizedNamedItem, IOperator, IStatefulItem {
    3737    public static new Image StaticItemImage {
     
    7676
    7777    [StorableConstructor]
    78     protected Operator(bool deserializing)
    79       : base(deserializing) {
     78    protected Operator(StorableConstructorFlag _) : base(_) {
    8079      executionContexts = new Lazy<ThreadLocal<IExecutionContext>>(() => { return new ThreadLocal<IExecutionContext>(); }, LazyThreadSafetyMode.ExecutionAndPublication);
    8180    }
Note: See TracChangeset for help on using the changeset viewer.