Table of Contents

Class XmlConstructorAttribute

Namespace
NMF.Serialization
Assembly
NMF.Serialization.dll

Defines an attribute to set the serializer to use a different constructor than the default constructor.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public sealed class XmlConstructorAttribute : Attribute
Inheritance
XmlConstructorAttribute
Inherited Members

Constructors

XmlConstructorAttribute(int)

Creates a new XmlConstructorAttribute to get the serializer to use a different constructor than the default constructor

public XmlConstructorAttribute(int parameterCount)

Parameters

parameterCount int

The amount of parameters to use

Properties

ParameterCount

Gets the amount of constructor parameters

public int ParameterCount { get; }

Property Value

int