C# Класс 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.
Наследование: LinkedHashMap
Показать файл Открыть проект

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

Метод Описание
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.

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

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

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 ///
Результат Parameter

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

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 ///
Результат System.Collections.Generic