C# Class NAnt.Core.Element.AttributeConfigurator

Configures an Element using meta-data provided by assigned attributes.
Afficher le fichier Open project: skolima/NAnt

Méthodes publiques

Méthode Description
AttributeConfigurator ( Element element, XmlNode elementNode, PropertyDictionary properties, FrameworkInfo targetFramework ) : System

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

Initialize ( ) : void

Méthodes protégées

Méthode Description
InitializeAttribute ( PropertyInfo propertyInfo ) : bool
InitializeBuildElement ( XmlNode childNode, Type elementType ) : Element
InitializeBuildElementCollection ( PropertyInfo propertyInfo ) : bool
InitializeChildElement ( PropertyInfo propertyInfo, MethodInfo getter, MethodInfo setter ) : bool
InitializeOrderedChildElements ( ) : void

Private Methods

Méthode Description
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.

Method Details

AttributeConfigurator() public méthode

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.
Résultat System

Initialize() public méthode

public Initialize ( ) : void
Résultat void

InitializeAttribute() protected méthode

protected InitializeAttribute ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo
Résultat bool

InitializeBuildElement() protected méthode

protected InitializeBuildElement ( XmlNode childNode, Type elementType ) : Element
childNode System.Xml.XmlNode
elementType System.Type
Résultat Element

InitializeBuildElementCollection() protected méthode

protected InitializeBuildElementCollection ( PropertyInfo propertyInfo ) : bool
propertyInfo System.Reflection.PropertyInfo
Résultat bool

InitializeChildElement() protected méthode

protected InitializeChildElement ( PropertyInfo propertyInfo, MethodInfo getter, MethodInfo setter ) : bool
propertyInfo System.Reflection.PropertyInfo
getter System.Reflection.MethodInfo
setter System.Reflection.MethodInfo
Résultat bool

InitializeOrderedChildElements() protected méthode

protected InitializeOrderedChildElements ( ) : void
Résultat void