Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableConstructorAttribute.cs @ 3579

Last change on this file since 3579 was 3025, checked in by epitzer, 14 years ago

Move attribute discovery from attribute classes to StorableSerializer (in preparation for unified discovery and handling of AllFields, AllProperties, ...) (#548)

File size: 760 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Reflection;
6using HeuristicLab.Persistence.Core;
7
8namespace HeuristicLab.Persistence.Default.CompositeSerializers.Storable {
9
10
11  /// <summary>
12  /// Indicate that this constructor should be used instead of the default constructor
13  /// when the <c>StorableSerializer</c> instantiates this class during
14  /// deserialization.
15  ///
16  /// The constructor must take exactly one <c>bool</c> argument that will be
17  /// set to <c>true</c> during deserialization.
18  /// </summary>
19  [AttributeUsage(AttributeTargets.Constructor, Inherited = false, AllowMultiple = false)]
20  public sealed class StorableConstructorAttribute : Attribute {  }
21}
Note: See TracBrowser for help on using the repository browser.