Class XmlConstructorParameterAttribute
- Namespace
- NMF.Serialization
- Assembly
- NMF.Serialization.dll
Defines an attribute to mark a property being used for the constructor of an object
[AttributeUsage(AttributeTargets.Property)]
public sealed class XmlConstructorParameterAttribute : Attribute
- Inheritance
-
XmlConstructorParameterAttribute
- Inherited Members
Constructors
XmlConstructorParameterAttribute(int)
Creates a new XmlConstructorParameterAttribute to mark a property being used for a constructor
public XmlConstructorParameterAttribute(int index)
Parameters
index
int
Properties
Index
Gets the index, the property is used in the constructor
public int Index { get; }