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.Persistence/4.0/Transformers/StorableClassTransformer.cs

    r14771 r14927  
    2424using System.Linq;
    2525using System.Reflection;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2726
    2827namespace HeuristicLab.Persistence {
    2928  [Transformer("78556C88-0FEE-4602-95C7-A469B2DDB468", 100)]
     29  [StorableType("3a578289-43ca-40f8-9f1e-2bdd255cb8fb")]
    3030  internal sealed class StorableClassBoxTransformer : BoxTransformer<object> {
    3131    public override bool CanTransformType(Type type) {
     
    8989        dict.Add(mapper.GetString(component.Key), mapper.GetObject(component.Value));
    9090      }
    91      
     91
    9292      // TODO: check that all entries in the dictionary can be mapped to a field or property
    9393      foreach (var convMeth in conversionMethods) {
Note: See TracChangeset for help on using the changeset viewer.