C# Class MS.Internal.Xml.Cache.XPathNodeInfoTable

An atomization table for XPathNodeInfoAtom.
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string localName, string namespaceUri, string prefix, string baseUri, XPathNode pageParent, XPathNode pageSibling, XPathNode pageSimilar, XPathDocument doc, int lineNumBase, int linePosBase ) : XPathNodeInfoAtom

Create a new XNodeInfoAtom and ensure it is atomized in the table.

ToString ( ) : string

Return InfoAtomTable formatted as a string.

XPathNodeInfoTable ( ) : System.Collections

Constructor.

Private Methods

Méthode Description
AddInfo ( XPathNodeInfoAtom info ) : void

Add a previously constructed InfoAtom to the table. If a collision occurs, then insert "info" as the head of a linked list.

Atomize ( XPathNodeInfoAtom info ) : XPathNodeInfoAtom

Add a shared information item to the atomization table. If a matching item already exists, then that instance is returned. Otherwise, a new item is created. Thus, if itemX and itemY have both been added to the same InfoTable: 1. itemX.Equals(itemY) != true 2. (object) itemX != (object) itemY

Method Details

Create() public méthode

Create a new XNodeInfoAtom and ensure it is atomized in the table.
public Create ( string localName, string namespaceUri, string prefix, string baseUri, XPathNode pageParent, XPathNode pageSibling, XPathNode pageSimilar, XPathDocument doc, int lineNumBase, int linePosBase ) : XPathNodeInfoAtom
localName string
namespaceUri string
prefix string
baseUri string
pageParent XPathNode
pageSibling XPathNode
pageSimilar XPathNode
doc System.Xml.XPath.XPathDocument
lineNumBase int
linePosBase int
Résultat XPathNodeInfoAtom

ToString() public méthode

Return InfoAtomTable formatted as a string.
public ToString ( ) : string
Résultat string

XPathNodeInfoTable() public méthode

Constructor.
public XPathNodeInfoTable ( ) : System.Collections
Résultat System.Collections