Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/16/10 02:43:21 (14 years ago)
Author:
swagner
Message:

Added storable constructors in HeuristicLab.Persistence plugin (#922)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableSerializer.cs

    r4175 r4806  
    4747      hookCache = new Dictionary<HookDesignator, List<StorableReflection.Hook>>();
    4848    }
     49    [StorableConstructor]
     50    private StorableSerializer(bool deserializing) : this() { }
    4951
    5052    #region ICompositeSerializer implementation
     
    129131      try {
    130132        return GetConstructor(type)();
    131       } catch (TargetInvocationException x) {
     133      }
     134      catch (TargetInvocationException x) {
    132135        throw new PersistenceException(
    133136          "Could not instantiate storable object: Encountered exception during constructor call",
Note: See TracChangeset for help on using the changeset viewer.