Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

Location:
branches/PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProblemDefinitionScript.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Optimization;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Problems.Programmable {
    2828  [Item("Multi-objective Problem Definition Script", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")]
    29   [StorableClass]
     29  [StorableType("2d7f81ef-32bd-4db1-a17d-e97e1e908b4b")]
    3030  public sealed class MultiObjectiveProblemDefinitionScript : ProblemDefinitionScript, IMultiObjectiveProblemDefinition, IStorableContent {
    3131    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/MultiObjectiveProgrammableProblem.cs

    r14185 r14927  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Problems.Programmable {
    3232  [Item("Programmable Problem (multi-objective)", "Represents a multi-objective problem that can be programmed with a script.")]
    3333  [Creatable(CreatableAttribute.Categories.Problems, Priority = 120)]
    34   [StorableClass]
     34  [StorableType("916c5220-35ef-4e40-9731-7e30ed94ba5c")]
    3535  public sealed class MultiObjectiveProgrammableProblem : MultiObjectiveBasicProblem<IEncoding>, IProgrammableItem {
    3636    public static new Image StaticItemImage {
  • branches/PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/ProblemDefinitionScript.cs

    r14185 r14927  
    2626using HeuristicLab.Core;
    2727using HeuristicLab.Optimization;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929using HeuristicLab.Scripting;
    3030
    3131namespace HeuristicLab.Problems.Programmable {
    3232  [Item("ProblemDefinitionScript", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")]
    33   [StorableClass]
     33  [StorableType("8b8547b0-7dca-49f5-a722-37aa59a6d702")]
    3434  public abstract class ProblemDefinitionScript : Script, IProblemDefinition {
    3535    protected bool SuppressEvents { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProblemDefinitionScript.cs

    r14185 r14927  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Problems.Programmable {
    2929  [Item("Single-objective Problem Definition Script", "Script that defines the parameter vector and evaluates the solution for a programmable problem.")]
    30   [StorableClass]
     30  [StorableType("94e5d8d0-5070-49b1-8083-404a9ec97924")]
    3131  public sealed class SingleObjectiveProblemDefinitionScript : ProblemDefinitionScript, ISingleObjectiveProblemDefinition, IStorableContent {
    3232    public string Filename { get; set; }
  • branches/PersistenceReintegration/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProgrammableProblem.cs

    r14185 r14927  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232
    3333namespace HeuristicLab.Problems.Programmable {
    3434  [Item("Programmable Problem (single-objective)", "Represents a single-objective problem that can be programmed with a script.")]
    3535  [Creatable(CreatableAttribute.Categories.Problems, Priority = 100)]
    36   [StorableClass]
     36  [StorableType("6e40c439-dabe-4533-bd83-a1f2b156dec0")]
    3737  public sealed class SingleObjectiveProgrammableProblem : SingleObjectiveBasicProblem<IEncoding>, IProgrammableItem {
    3838    public static new Image StaticItemImage {
Note: See TracChangeset for help on using the changeset viewer.