C# Класс NAnt.Core.Element.AttributeConfigurator

Configures an Element using meta-data provided by assigned attributes.
Показать файл Открыть проект

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

Метод Описание
AttributeConfigurator ( Element element, XmlNode elementNode, PropertyDictionary properties, FrameworkInfo targetFramework ) : System

Initializes a new instance of the AttributeConfigurator class for the given Element.

Initialize ( ) : void

Защищенные методы

Метод Описание
InitializeAttribute ( PropertyInfo propertyInfo ) : bool
InitializeBuildElement ( XmlNode childNode, Type elementType ) : Element
InitializeBuildElementCollection ( PropertyInfo propertyInfo ) : bool
InitializeChildElement ( PropertyInfo propertyInfo, MethodInfo getter, MethodInfo setter ) : bool
InitializeOrderedChildElements ( ) : void

Приватные методы

Метод Описание
CreateAttributeSetter ( Type attributeType ) : IAttributeSetter

Creates an IAttributeSetter for the given Type.

CreateChildBuildElement ( PropertyInfo propInf, MethodInfo getter, MethodInfo setter, XmlNode xml, PropertyDictionary properties, FrameworkInfo framework ) : Element

Creates a child Element using property set/get methods.

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

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

Initializes a new instance of the AttributeConfigurator class for the given Element.
/// is . /// -or- /// is . /// -or- /// is . ///
public AttributeConfigurator ( Element element, XmlNode elementNode, PropertyDictionary properties, FrameworkInfo targetFramework ) : System
element Element The for which an should be created.
elementNode System.Xml.XmlNode The to initialize the with.
properties PropertyDictionary The to use for property expansion.
targetFramework FrameworkInfo The framework that the should target.
Результат System

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

public Initialize ( ) : void
Результат void

InitializeAttribute() защищенный Метод

protected InitializeAttribute ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo
Результат bool

InitializeBuildElement() защищенный Метод

protected InitializeBuildElement ( XmlNode childNode, Type elementType ) : Element
childNode System.Xml.XmlNode
elementType System.Type
Результат Element

InitializeBuildElementCollection() защищенный Метод

protected InitializeBuildElementCollection ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo
Результат bool

InitializeChildElement() защищенный Метод

protected InitializeChildElement ( PropertyInfo propertyInfo, MethodInfo getter, MethodInfo setter ) : bool
propertyInfo System.Reflection.PropertyInfo
getter System.Reflection.MethodInfo
setter System.Reflection.MethodInfo
Результат bool

InitializeOrderedChildElements() защищенный Метод

protected InitializeOrderedChildElements ( ) : void
Результат void