C# Class SimpleFramework.Xml.Core.AttributeParameter

The AttributeParameter 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.
Inheritance: Parameter
Afficher le fichier Open project: restlet/simplexml

Méthodes publiques

Méthode Description
AttributeParameter ( Constructor factory, Attribute value, int index ) : SimpleFramework.Xml

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

Method Details

AttributeParameter() public méthode

Constructor for the AttributeParameter object. This is used to create a parameter that can be used to determine a consistent name using the provided XML annotation.
public AttributeParameter ( Constructor factory, Attribute value, int index ) : SimpleFramework.Xml
factory Constructor /// this is the constructor the parameter is in ///
value Attribute /// this is the annotation used for the parameter ///
index int /// this is the index the parameter appears at ///
Résultat SimpleFramework.Xml