C# Class SimpleFramework.Xml.Core.Index

The Index object is used to represent an index of parameters iterable in declaration order. This is used so that parameters can be acquired by name for validation. It is also used to create an array of Parameter objects that can be used to acquire the correct deserialized values to use in order to instantiate the object.
Inheritance: LinkedHashMap
Afficher le fichier Open project: restlet/simplexml

Méthodes publiques

Méthode Description
GetParameter ( int ordinal ) : Parameter

This is used to acquire a Parameter using the position of that parameter within the constructor. This allows a builder to determine which parameters to use..

Index ( Class type ) : System.Collections.Generic

Constructor for the Index object. This is used to create a hash map that can be used to acquire parameters by name. It also provides the parameters in declaration order within a for each loop.

Method Details

GetParameter() public méthode

This is used to acquire a Parameter using the position of that parameter within the constructor. This allows a builder to determine which parameters to use..
public GetParameter ( int ordinal ) : Parameter
ordinal int /// this is the position of the parameter ///
Résultat Parameter

Index() public méthode

Constructor for the Index object. This is used to create a hash map that can be used to acquire parameters by name. It also provides the parameters in declaration order within a for each loop.
public Index ( Class type ) : System.Collections.Generic
type Class /// this is the type the map is created for ///
Résultat System.Collections.Generic