- Timestamp:
- 11/16/10 02:43:21 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
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 {
Note: See TracChangeset
for help on using the changeset viewer.