Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/15 17:08:13 (9 years ago)
Author:
ascheibe
Message:

#2520 added guids to storable classes

Location:
branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableAttribute.cs

    r13347 r13368  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    2929  /// <summary>
    3030  /// Mark the member of a class to be considered by the <c>StorableSerializer</c>.
    31   /// The class must be marked as <c>[StorableClass]</c> and the
     31  /// The class must be marked as <c>[StorableClass("05FE6F11-87C6-435E-800A-166AFACCF5AC")]</c> and the
    3232  /// <c>StorableClassType</c> should be set to <c>MarkedOnly</c> for
    3333  /// this attribute to kick in.
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableReflection.cs

    r12012 r13368  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    172172    #endregion
    173173
    174     #region [StorableClass] helpers
     174    #region [StorableClass("BBAFAC35-1753-4FF2-8CD5-9D307C782287")] helpers
    175175
    176176    private static StorableClassAttribute GetStorableClassAttribute(Type type) {
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableSerializer.cs

    r12012 r13368  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    3333  /// <summary>
    3434  /// Intended for serialization of all custom classes. Classes should have the
    35   /// <c>[StorableClass]</c> attribute set. The default mode is to serialize
     35  /// <c>[StorableClass("FB71B522-2818-48CD-AF43-EB1E0C2D6504")]</c> attribute set. The default mode is to serialize
    3636  /// members with the <c>[Storable]</c> attribute set. Alternatively the
    3737  /// storable mode can be set to <c>AllFields</c>, <c>AllProperties</c>
    3838  /// or <c>AllFieldsAndAllProperties</c>.
    3939  /// </summary>
    40   [StorableClass]
     40  [StorableClass("FB71B522-2818-48CD-AF43-EB1E0C2D6504")]
    4141  public sealed class StorableSerializer : ICompositeSerializer {
    4242
Note: See TracChangeset for help on using the changeset viewer.