QNameBank Class

Represents a bank interning XmlQualifiedName instances.

C#
public sealed class QNameBank
Inheritance
QNameBank

Methods

Intern(XmlQualifiedName)

Interns the specified XmlQualifiedName instance.

Find(string, string)

Finds the XmlQualifiedName instance with the specified namespace and local name.

Equals(object) (Inherited from object)
GetHashCode() (Inherited from object)
GetType() (Inherited from object)
MemberwiseClone() (Inherited from object)
ToString() (Inherited from object)

Methods Detail

Intern(XmlQualifiedName)

Interns the specified XmlQualifiedName instance.

C#
public XmlQualifiedName Intern(XmlQualifiedName qualifiedName)

Parameters

qualifiedName
XmlQualifiedName

The qualified name to intern.

Returns

The canonical XmlQualifiedName instance.

Find(string, string)

Finds the XmlQualifiedName instance with the specified namespace and local name.

C#
public XmlQualifiedName Find(string ns, string localName)

Parameters

ns
string

The namespace of the qualified name.

localName
string

The local name of the qualified name.

Returns

The XmlQualifiedName instance if found; otherwise, null.