C# 클래스 NDoc.Documenter.NAnt.NAntXsltUtilities

Provides an extension object for the XSLT transformations.
파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateInstance NAntXsltUtilities
GetElementNameForMethod string
GetElementNameForProperty string
GetElementNameForType string
GetFileNameForFunction string
GetFileNameForFunction string
GetFileNameForType string
GetFileNameForType string
GetFilenameForSystemMember string
GetHRefForFunctionSet string
GetTaskNameForType string
NAntXsltUtilities System.Collections

공개 메소드들

메소드 설명
GetClassNode ( string id ) : XPathNodeIterator

Searches the document for the <class> node with the given id.

GetElementDocType ( XmlNode typeNode ) : ElementDocType

Determines the ElementDocType of the given type node.

GetElementDocTypeByID ( string cref ) : ElementDocType

Determines the ElementDocType of the type to which the given cref points.

GetElementName ( string cref ) : string

Returns the NAnt element name for a given cref.

GetHRef ( string cref ) : string

Returns an href for a cref.

GetMethodNodeByID ( string cref ) : XmlNode
GetName ( string cref ) : string

Returns the name for a given cref.

GetNamespaceFilter ( ) : string

Gets the root namespace to document.

GetTaskName ( string cref ) : string

Returns the NAnt task name for a given cref.

GetTypeNodeByID ( string cref ) : XmlNode
IsDataType ( string cref ) : bool

Determines whether the given cref points to a datatype.

IsElement ( string cref ) : bool

Determines whether the given cref points to an element.

When the cref points to a Task or DataTypeBase this method returns .

IsFilter ( string cref ) : bool

Determines whether the given cref points to a datatype.

IsFunctionSet ( string cref ) : bool

Determines whether the given cref points to a functionset.

IsTask ( string cref ) : bool

Determines whether the given cref points to a task.

UrlEncode ( string value ) : string

Encodes a URL string using Encoding.UTF8 for reliable HTTP transmission from the Web server to a client.

비공개 메소드들

메소드 설명
CreateInstance ( XmlDocument doc, NAntDocumenterConfig config ) : NAntXsltUtilities
GetElementNameForMethod ( XmlNode methodNode ) : string

Gets the function name for methods that represent a NAtn function.

GetElementNameForProperty ( XmlNode propertyNode ) : string

Gets the BuildElementAttribute name for the "class/property" XmlNode

GetElementNameForType ( XmlNode typeNode ) : string
GetFileNameForFunction ( XmlNode functionNode, bool urlEncode ) : string

Returns the filename to use for the given function XmlElement

GetFileNameForFunction ( string type, bool urlEncode ) : string
GetFileNameForType ( XmlNode typeNode, bool urlEncode ) : string

Returns the filename to use for the given class XmlNode

For a type that is neither a task, enum, global type, filter or functionset, the returned filename will point to the SDK docs for that type.

GetFileNameForType ( string type, bool urlEncode ) : string
GetFilenameForSystemMember ( string cref ) : string
GetHRefForFunctionSet ( XmlNode functionNode ) : string

Returns a partial URL to link to the functionset in the function index.

GetTaskNameForType ( XmlNode typeNode ) : string

Gets the TaskNameAttrbute name for the "class" XmlNode

The class is also checked to make sure it is derived from Task

NAntXsltUtilities ( XmlDocument doc, NAntDocumenterConfig config ) : System.Collections

Initializes a new instance of the NAntXsltUtilities class.

메소드 상세

GetClassNode() 공개 메소드

Searches the document for the <class> node with the given id.
public GetClassNode ( string id ) : XPathNodeIterator
id string
리턴 System.Xml.XPath.XPathNodeIterator

GetElementDocType() 공개 메소드

Determines the ElementDocType of the given type node.
public GetElementDocType ( XmlNode typeNode ) : ElementDocType
typeNode System.Xml.XmlNode The type node for which to determine the .
리턴 ElementDocType

GetElementDocTypeByID() 공개 메소드

Determines the ElementDocType of the type to which the given cref points.
public GetElementDocTypeByID ( string cref ) : ElementDocType
cref string The cref for which to determine the .
리턴 ElementDocType

GetElementName() 공개 메소드

Returns the NAnt element name for a given cref.
public GetElementName ( string cref ) : string
cref string The cref for the element name will be looked up.
리턴 string

GetHRef() 공개 메소드

Returns an href for a cref.
public GetHRef ( string cref ) : string
cref string The cref for which the href will be looked up.
리턴 string

GetMethodNodeByID() 공개 메소드

public GetMethodNodeByID ( string cref ) : XmlNode
cref string
리턴 System.Xml.XmlNode

GetName() 공개 메소드

Returns the name for a given cref.
public GetName ( string cref ) : string
cref string The cref for which the name will be looked up.
리턴 string

GetNamespaceFilter() 공개 메소드

Gets the root namespace to document.
public GetNamespaceFilter ( ) : string
리턴 string

GetTaskName() 공개 메소드

Returns the NAnt task name for a given cref.
public GetTaskName ( string cref ) : string
cref string The cref for the task name will be looked up.
리턴 string

GetTypeNodeByID() 공개 메소드

public GetTypeNodeByID ( string cref ) : XmlNode
cref string
리턴 System.Xml.XmlNode

IsDataType() 공개 메소드

Determines whether the given cref points to a datatype.
public IsDataType ( string cref ) : bool
cref string The cref to check.
리턴 bool

IsElement() 공개 메소드

Determines whether the given cref points to an element.
When the cref points to a Task or DataTypeBase this method returns .
public IsElement ( string cref ) : bool
cref string The cref to check.
리턴 bool

IsFilter() 공개 메소드

Determines whether the given cref points to a datatype.
public IsFilter ( string cref ) : bool
cref string The cref to check.
리턴 bool

IsFunctionSet() 공개 메소드

Determines whether the given cref points to a functionset.
public IsFunctionSet ( string cref ) : bool
cref string The cref to check.
리턴 bool

IsTask() 공개 메소드

Determines whether the given cref points to a task.
public IsTask ( string cref ) : bool
cref string The cref to check.
리턴 bool

UrlEncode() 공개 메소드

Encodes a URL string using Encoding.UTF8 for reliable HTTP transmission from the Web server to a client.
public UrlEncode ( string value ) : string
value string The text to encode.
리턴 string