Changeset 3016 for trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableHookAttribute.cs
- Timestamp:
- 03/14/10 00:42:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableHookAttribute.cs
r3010 r3016 16 16 /// <summary> 17 17 /// Mark methods that should be called at certain times during 18 /// serialization/deserialization by the <c ode>StorableSerializer</code>.18 /// serialization/deserialization by the <c>StorableSerializer</c>. 19 19 /// </summary> 20 20 [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)] … … 32 32 33 33 private readonly HookType hookType; 34 /// <summary> 35 /// Gets the type of the hook. 36 /// </summary> 37 /// <value>The type of the hook.</value> 34 38 public HookType HookType { 35 39 get { return hookType; } … … 38 42 39 43 /// <summary> 40 /// Mark method as <c ode>StorableSerializer</code> hook to be run41 /// at the <c ode>HookType</code> time.44 /// Mark method as <c>StorableSerializer</c> hook to be run 45 /// at the <c>HookType</c> time. 42 46 /// </summary> 43 /// <param name="hookType"> </param>47 /// <param name="hookType">Type of the hook.</param> 44 48 public StorableHookAttribute(HookType hookType) { 45 49 this.hookType = hookType; … … 56 60 57 61 /// <summary> 58 /// Invoke <code>hookType</code> hook on <code>obj</code>. 59 /// </summary> 62 /// Invoke <c>hookType</c> hook on <c>obj</c>. 63 /// </summary> 64 /// <param name="hookType">Type of the hook.</param> 65 /// <param name="obj">The object.</param> 60 66 public static void InvokeHook(HookType hookType, object obj) { 61 67 if (obj == null)
Note: See TracChangeset
for help on using the changeset viewer.