C# Класс XmlIntelliSense.App.XHelper.XmlElementInformation

Source: Sharpdevelop
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddElement ( XmlElementQualifiedName elementName ) : void
Compact ( ) : void

Compacts the path so it only contains the elements that are from the namespace of the last element in the path.

This method is used when we need to know the path for a particular namespace and do not care about the complete path.

Equals ( object obj ) : bool

An xml element path is considered to be equal if each path item has the same name and namespace.

GetHashCode ( ) : int
GetNamespaceForPrefix ( string prefix ) : string
GetRootNamespace ( ) : string
SetNamespaceForUnqualifiedNames ( string namespaceUri ) : void

Only updates those names without a namespace.

ToString ( ) : string
XmlElementInformation ( )

Приватные методы

Метод Описание
LastIndexNotMatchingNamespace ( string namespaceUri ) : int

Описание методов

AddElement() публичный Метод

public AddElement ( XmlElementQualifiedName elementName ) : void
elementName XmlElementQualifiedName
Результат void

Compact() публичный Метод

Compacts the path so it only contains the elements that are from the namespace of the last element in the path.
This method is used when we need to know the path for a particular namespace and do not care about the complete path.
public Compact ( ) : void
Результат void

Equals() публичный Метод

An xml element path is considered to be equal if each path item has the same name and namespace.
public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

GetNamespaceForPrefix() публичный Метод

public GetNamespaceForPrefix ( string prefix ) : string
prefix string
Результат string

GetRootNamespace() публичный Метод

public GetRootNamespace ( ) : string
Результат string

SetNamespaceForUnqualifiedNames() публичный Метод

Only updates those names without a namespace.
public SetNamespaceForUnqualifiedNames ( string namespaceUri ) : void
namespaceUri string
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

XmlElementInformation() публичный Метод