Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/17 11:41:43 (8 years ago)
Author:
gkronber
Message:

#2520

  • renamed StorableClass -> StorableType
  • changed persistence to use GUIDs instead of type names
Location:
branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/Xml
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/Xml/Compact/NumberArray2XmlSerializerBase.cs

    r13368 r14711  
    3131namespace HeuristicLab.Persistence.Default.Xml.Compact {
    3232
    33   [StorableClass("19C52154-260B-4003-99E0-1C47BD93618B")]
     33  [StorableType("19C52154-260B-4003-99E0-1C47BD93618B")]
    3434  internal abstract class NumberArray2XmlSerializerBase<T> : CompactXmlSerializerBase<T> where T : class {
    3535
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/Xml/Compact/NumberEnumeration2XmlSerializerBase.cs

    r13368 r14711  
    2929namespace HeuristicLab.Persistence.Default.Xml.Compact {
    3030
    31   [StorableClass("994DD94B-001A-4834-8099-EC84B81B88D1")]
     31  [StorableType("994DD94B-001A-4834-8099-EC84B81B88D1")]
    3232  internal abstract class NumberEnumeration2XmlSerializerBase<T> : CompactXmlSerializerBase<T> where T : IEnumerable {
    3333
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/Xml/XmlFormat.cs

    r13368 r14711  
    2929  /// or save to a file.
    3030  /// </summary>
    31   [StorableClass("954DB753-AE15-44EA-ACCA-61A4AF3D4B33")]
     31  [StorableType("954DB753-AE15-44EA-ACCA-61A4AF3D4B33")]
    3232  public class XmlFormat : FormatBase<XmlString> {
    3333    /// <summary>
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/Xml/XmlGenerator.cs

    r12638 r14711  
    398398    /// <param name="obj">The object.</param>
    399399    /// <param name="stream">The stream.</param>
    400     /// <param name="compressionType">Type of compression, default is GZip.</param>
     400    /// <param name="compressionType">MemberSelection of compression, default is GZip.</param>
    401401    public static void Serialize(object obj, Stream stream, CompressionType compressionType = CompressionType.GZip) {
    402402      Serialize(obj, stream, ConfigurationService.Instance.GetConfiguration(new XmlFormat()), compressionType);
     
    410410    /// <param name="stream">The stream.</param>
    411411    /// <param name="config">The configuration.</param>
    412     /// <param name="compressionType">Type of compression, default is GZip.</param>
     412    /// <param name="compressionType">MemberSelection of compression, default is GZip.</param>
    413413    public static void Serialize(object obj, Stream stream, Configuration config, CompressionType compressionType = CompressionType.GZip) {
    414414      Serialize(obj, stream, config, false, compressionType);
     
    422422    /// <param name="config">The configuration.</param>
    423423    /// <param name="includeAssemblies">if set to <c>true</c> include need assemblies.</param>
    424     /// <param name="compressionType">Type of compression, default is GZip.</param>
     424    /// <param name="compressionType">MemberSelection of compression, default is GZip.</param>
    425425    public static void Serialize(object obj, Stream stream, Configuration config, bool includeAssemblies,
    426426                                 CompressionType compressionType = CompressionType.GZip) {
     
    449449    /// <param name="includeAssemblies">if set to <c>true</c> include need assemblies.</param>
    450450    /// <param name="types">The list of all serialized types.</param>
    451     /// <param name="compressionType">Type of compression, default is GZip.</param>
     451    /// <param name="compressionType">MemberSelection of compression, default is GZip.</param>
    452452    public static void Serialize(object obj, Stream stream, Configuration config, bool includeAssemblies, out IEnumerable<Type> types,
    453453                                 CompressionType compressionType = CompressionType.GZip) {
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/Xml/XmlParser.cs

    r12638 r14711  
    3232namespace HeuristicLab.Persistence.Default.Xml {
    3333  /// <summary>
    34   /// Type of compression used for the Xml stream or file.
     34  /// MemberSelection of compression used for the Xml stream or file.
    3535  /// </summary>
    3636  public enum CompressionType {
     
    228228    /// <typeparam name="T">object type expected from the serialized stream</typeparam>
    229229    /// <param name="stream">The stream.</param>
    230     /// <param name="compressionType">Type of compression, default is GZip.</param>
     230    /// <param name="compressionType">MemberSelection of compression, default is GZip.</param>
    231231    /// <returns>A fresh object instance.</returns>
    232232    public static T Deserialize<T>(Stream stream, CompressionType compressionType = CompressionType.GZip) {
     
    238238    /// </summary>
    239239    /// <param name="stream">The stream.</param>
    240     /// <param name="compressionType">Type of compression, default is GZip.</param>
     240    /// <param name="compressionType">MemberSelection of compression, default is GZip.</param>
    241241    /// <returns>A fresh object instance.</returns>
    242242    public static object Deserialize(Stream stream, CompressionType compressionType = CompressionType.GZip) {
  • branches/PersistenceOverhaul/HeuristicLab.Persistence/3.3/Default/Xml/XmlString.cs

    r13368 r14711  
    2929  /// XML friendly encapsulation of string data.
    3030  /// </summary>
    31   [StorableClass("CAB3BE44-DAFD-4642-ADC8-E8A4A2B18A97")]
     31  [StorableType("CAB3BE44-DAFD-4642-ADC8-E8A4A2B18A97")]
    3232  public class XmlString : ISerialData {
    3333
Note: See TracChangeset for help on using the changeset viewer.