C# 클래스 NAnt.Core.Element.AttributeConfigurator

Configures an Element using meta-data provided by assigned attributes.
파일 보기 프로젝트 열기: skolima/NAnt

공개 메소드들

메소드 설명
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