C# Class XmlIntelliSense.App.XHelper.XmlElementInformation

Source: Sharpdevelop
Afficher le fichier Open project: Code-Inside/Samples Class Usage Examples

Méthodes publiques

Méthode Description
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 ( )

Private Methods

Méthode Description
LastIndexNotMatchingNamespace ( string namespaceUri ) : int

Method Details

AddElement() public méthode

public AddElement ( XmlElementQualifiedName elementName ) : void
elementName XmlElementQualifiedName
Résultat void

Compact() public méthode

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
Résultat void

Equals() public méthode

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
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetNamespaceForPrefix() public méthode

public GetNamespaceForPrefix ( string prefix ) : string
prefix string
Résultat string

GetRootNamespace() public méthode

public GetRootNamespace ( ) : string
Résultat string

SetNamespaceForUnqualifiedNames() public méthode

Only updates those names without a namespace.
public SetNamespaceForUnqualifiedNames ( string namespaceUri ) : void
namespaceUri string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

XmlElementInformation() public méthode