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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionModification/RunCollectionGroupCreater.cs

    r14185 r14927  
    2727using HeuristicLab.Data;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131namespace HeuristicLab.Optimization {
    3232
    3333  [Item("RunCollection Group Creater", "Regroups existing runs according to equal values in GroupBy and prefixes them according to their value in Prefix.")]
    34   [StorableClass]
     34  [StorableType("ef5dd619-133c-4c72-9730-d330b9bf2c04")]
    3535  public class RunCollectionGroupCreater : ParameterizedNamedItem, IRunCollectionModifier {
    36    
     36
    3737    public ValueParameter<ItemCollection<StringValue>> GroupByParameter {
    3838      get { return (ValueParameter<ItemCollection<StringValue>>)Parameters["GroupBy"]; }
     
    5454        new ItemCollection<StringValue>(new[] { new StringValue("Problem Name") })));
    5555      Parameters.Add(new ValueParameter<StringValue>("Prefix", "The distinguishing prefix values for the individual runs.",
    56         new StringValue("Algorithm Name")));     
     56        new StringValue("Algorithm Name")));
    5757    }
    5858    public override IDeepCloneable Clone(Cloner cloner) {
     
    100100        name = string.Format("{0}_{1}.{2}", prefix, ++n, key);
    101101      }
    102       dict.Add(name, value);     
     102      dict.Add(name, value);
    103103    }
    104104  }
Note: See TracChangeset for help on using the changeset viewer.