Changeset 4806
- Timestamp:
- 11/16/10 02:43:21 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Persistence/3.3
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Auxiliary/TypeName.cs
r4068 r4806 96 96 97 97 98 98 [StorableConstructor] 99 protected TypeName(bool deserializing) { } 99 100 /// <summary> 100 101 /// Initializes a new instance of the <see cref="TypeName"/> class. -
trunk/sources/HeuristicLab.Persistence/3.3/Core/Configuration.cs
r4068 r4806 50 50 51 51 [StorableConstructor] 52 pr ivateConfiguration(bool isDeserializing) {52 protected Configuration(bool isDeserializing) { 53 53 compositeSerializerCache = new Dictionary<Type, ICompositeSerializer>(); 54 54 if (isDeserializing) -
trunk/sources/HeuristicLab.Persistence/3.3/Core/FormatBase.cs
r3743 r4806 37 37 /// <value>The format's name.</value> 38 38 public abstract string Name { get; } 39 39 40 40 /// <summary> 41 41 /// Datatype that describes the atoms used for serialization serialization. 42 42 /// </summary> 43 43 public Type SerialDataType { get { return typeof(SerialDataFormat); } } 44 45 [StorableConstructor] 46 protected FormatBase(bool deserializing) { } 47 protected FormatBase() { } 44 48 45 49 /// <summary> -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/ArraySerializer.cs
r4068 r4806 30 30 [StorableClass] 31 31 internal sealed class ArraySerializer : ICompositeSerializer { 32 33 [StorableConstructor] 34 private ArraySerializer(bool deserializing) { } 35 public ArraySerializer() { } 32 36 33 37 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/CompactNumberArray2StringSerializer.cs
r4132 r4806 80 80 } 81 81 } 82 83 [StorableConstructor] 84 private CompactNumberArray2StringSerializer(bool deserializing) { } 85 public CompactNumberArray2StringSerializer() { } 82 86 83 87 public const int SPLIT_THRESHOLD = 1024 * 1024; … … 183 187 } 184 188 return a; 185 } catch (InvalidOperationException e) { 189 } 190 catch (InvalidOperationException e) { 186 191 throw new PersistenceException("Insuffictient data to deserialize compact array", e); 187 } catch (InvalidCastException e) { 192 } 193 catch (InvalidCastException e) { 188 194 throw new PersistenceException("Invalid element data during compact array deserialization", e); 189 195 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/DictionarySerializer.cs
r4068 r4806 32 32 [StorableClass] 33 33 internal sealed class DictionarySerializer : ICompositeSerializer { 34 35 [StorableConstructor] 36 private DictionarySerializer(bool deserializing) { } 37 public DictionarySerializer() { } 34 38 35 39 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/EnumSerializer.cs
r4068 r4806 30 30 [StorableClass] 31 31 internal sealed class EnumSerializer : ICompositeSerializer { 32 33 [StorableConstructor] 34 private EnumSerializer(bool deserializing) { } 35 public EnumSerializer() { } 32 36 33 37 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/EnumerableSerializer.cs
r4068 r4806 33 33 [StorableClass] 34 34 internal sealed class EnumerableSerializer : ICompositeSerializer { 35 36 [StorableConstructor] 37 private EnumerableSerializer(bool deserializing) { } 38 public EnumerableSerializer() { } 35 39 36 40 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/KeyValuePairSerializer.cs
r4068 r4806 32 32 [StorableClass] 33 33 internal sealed class KeyValuePairSerializer : ICompositeSerializer { 34 35 [StorableConstructor] 36 private KeyValuePairSerializer(bool deserializing) { } 37 public KeyValuePairSerializer() { } 34 38 35 39 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Number2StringSerializer.cs
r4068 r4806 42 42 [StorableClass] 43 43 public sealed class Number2StringSerializer : ICompositeSerializer { 44 45 [StorableConstructor] 46 private Number2StringSerializer(bool deserializing) { } 47 public Number2StringSerializer() { } 44 48 45 49 private static readonly Dictionary<Type, IPrimitiveSerializer> numberSerializerMap; -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/NumberEnumerable2StringSerializer.cs
r4068 r4806 33 33 [StorableClass] 34 34 internal sealed class NumberEnumerable2StringSerializer : ICompositeSerializer { 35 36 [StorableConstructor] 37 private NumberEnumerable2StringSerializer(bool deserializing) { } 38 public NumberEnumerable2StringSerializer() { } 35 39 36 40 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/StackSerializer.cs
r4068 r4806 32 32 [StorableClass] 33 33 internal sealed class StackSerializer : ICompositeSerializer { 34 35 [StorableConstructor] 36 private StackSerializer(bool deserializing) { } 37 public StackSerializer() { } 34 38 35 39 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableSerializer.cs
r4175 r4806 47 47 hookCache = new Dictionary<HookDesignator, List<StorableReflection.Hook>>(); 48 48 } 49 [StorableConstructor] 50 private StorableSerializer(bool deserializing) : this() { } 49 51 50 52 #region ICompositeSerializer implementation … … 129 131 try { 130 132 return GetConstructor(type)(); 131 } catch (TargetInvocationException x) { 133 } 134 catch (TargetInvocationException x) { 132 135 throw new PersistenceException( 133 136 "Could not instantiate storable object: Encountered exception during constructor call", -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/StructSerializer.cs
r4068 r4806 31 31 [StorableClass] 32 32 internal sealed class StructSerializer : ICompositeSerializer { 33 34 [StorableConstructor] 35 private StructSerializer(bool deserializing) { } 36 public StructSerializer() { } 33 37 34 38 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/TypeSerializer.cs
r4068 r4806 31 31 [StorableClass] 32 32 internal sealed class TypeSerializer : ICompositeSerializer { 33 34 [StorableConstructor] 35 private TypeSerializer(bool deserializing) { } 36 public TypeSerializer() { } 33 37 34 38 public int Priority { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/DebugString.cs
r4068 r4806 38 38 public string Data { get; set; } 39 39 40 [StorableConstructor] 41 protected DebugString(bool deserializing) { } 40 42 private DebugString() { } 41 43 -
trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/DebugStringFormat.cs
r4068 r4806 35 35 /// <value>The format's name.</value> 36 36 public override string Name { get { return "DebugString"; } } 37 38 [StorableConstructor] 39 protected DebugStringFormat(bool deserializing) : base(deserializing) { } 40 public DebugStringFormat() { } 37 41 } 38 42 -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/XmlFormat.cs
r4068 r4806 36 36 /// <value>The format's name.</value> 37 37 public override string Name { get { return "XML"; } } 38 39 [StorableConstructor] 40 protected XmlFormat(bool deserializing) : base(deserializing) { } 41 public XmlFormat() { } 38 42 } 39 43 -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/XmlString.cs
r4068 r4806 40 40 public string Data { get; private set; } 41 41 42 [StorableConstructor] 43 protected XmlString(bool deserializing) { } 42 44 private XmlString() { } 43 45
Note: See TracChangeset
for help on using the changeset viewer.