Class XmlConstructorParameterAttribute
Defines an attribute to mark a property being used for the constructor of an object
Inherited Members
Namespace: NMF.Serialization
Assembly: NMF.Serialization.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class XmlConstructorParameterAttribute : Attribute
Constructors
| Edit this page View SourceXmlConstructorParameterAttribute(int)
Creates a new XmlConstructorParameterAttribute to mark a property being used for a constructor
Declaration
public XmlConstructorParameterAttribute(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index |
Properties
| Edit this page View SourceIndex
Gets the index, the property is used in the constructor
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
int |