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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Reflection;
|
---|
6 | using HeuristicLab.Persistence.Core;
|
---|
7 |
|
---|
8 | namespace 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.