C# Класс SimpleFramework.Xml.Core.ElementParameter

The ElementParameter represents a constructor parameter. It contains the XML annotation used on the parameter as well as the name of the parameter and its position index. A parameter is used to validate against the annotated methods and fields and also to determine the deserialized values that should be injected in to the constructor to instantiate it.
Наследование: Parameter
Показать файл Открыть проект

Открытые методы

Метод Описание
ElementParameter ( Constructor factory, Element value, int index ) : SimpleFramework.Xml

Constructor for the ElementParameter object. This is used to create a parameter that can be used to determine a consistent name using the provided XML annotation.

Описание методов

ElementParameter() публичный Метод

Constructor for the ElementParameter object. This is used to create a parameter that can be used to determine a consistent name using the provided XML annotation.
public ElementParameter ( Constructor factory, Element value, int index ) : SimpleFramework.Xml
factory Constructor /// this is the constructor the parameter is in ///
value Element /// this is the annotation used for the parameter ///
index int /// this is the index the parameter appears at ///
Результат SimpleFramework.Xml