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

An atomization table for XPathNodeInfoAtom.
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return XPathNodeInfoAtom

ToString() public method

Return InfoAtomTable formatted as a string.
public ToString ( ) : string
return string

XPathNodeInfoTable() public method

Constructor.
public XPathNodeInfoTable ( ) : System.Collections
return System.Collections