C# Class System.Xml.Xsl.Qil.QilName

View over a Qil name literal.
Don't construct QIL nodes directly; instead, use the QilFactory.
Inheritance: QilLiteral
Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Equals ( object other ) : bool

Override Equals() so that the QilName can be used as a key in the hashtable.

Does not compare their prefixes (if any).

GetHashCode ( ) : int

Override GetHashCode() so that the QilName can be used as a key in the hashtable.

Does not compare their prefixes (if any).

QilName ( QilNodeType nodeType, string local, string uri, string prefix ) : System

Construct a new node

ToString ( ) : string

Return the QilName in this format: "{namespace}prefix:local-name". If the namespace is empty, return the QilName in this truncated format: "local-name". If the prefix is empty, return the QilName in this truncated format: "{namespace}local-name".

Method Details

Equals() public method

Override Equals() so that the QilName can be used as a key in the hashtable.
Does not compare their prefixes (if any).
public Equals ( object other ) : bool
other object
return bool

GetHashCode() public method

Override GetHashCode() so that the QilName can be used as a key in the hashtable.
Does not compare their prefixes (if any).
public GetHashCode ( ) : int
return int

QilName() public method

Construct a new node
public QilName ( QilNodeType nodeType, string local, string uri, string prefix ) : System
nodeType QilNodeType
local string
uri string
prefix string
return System

ToString() public method

Return the QilName in this format: "{namespace}prefix:local-name". If the namespace is empty, return the QilName in this truncated format: "local-name". If the prefix is empty, return the QilName in this truncated format: "{namespace}local-name".
public ToString ( ) : string
return string