Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/02/17 16:30:52 (7 years ago)
Author:
jkarder
Message:

#2520: removed ColorTransformer for now as it only handled the color's argb values (StructTransformer will handle more, e.g. IsEmpty)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Persistence/4.0/Transformers/Transformers.cs

    r14927 r15022  
    443443  }
    444444
    445   [Transformer("0B540EAC-79AB-40CF-8277-D2C81135FEB6", 214)]
    446   [StorableType("aac1fee2-ea34-46b4-9db7-3ae8da8927eb")]
    447   internal sealed class ColorTransformers : IntBoxTransformer<Color> {
    448     protected override int ToBoxType(Color value, Mapper mapper) { return value.ToArgb(); }
    449     protected override Color ToValueType(int value, Type type, Mapper mapper) { return Color.FromArgb(value); }
    450   }
    451 
    452445  [Transformer("2E6D4A40-B4BE-425F-8E35-2D7C00054639", 215)]
    453446  [StorableType("11a33d00-5edc-4c49-884a-9f2809c23b30")]
Note: See TracChangeset for help on using the changeset viewer.