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

Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Equals ( object other ) : bool

Return true if this InfoAtom has the same values as another InfoAtom.

GetHashCode ( ) : int

Return this information atom's hash code, previously computed for performance.

Init ( string localName, string namespaceUri, string prefix, string baseUri, XPathNode pageParent, XPathNode pageSibling, XPathNode pageSimilar, XPathDocument doc, int lineNumBase, int linePosBase ) : void

Initialize an existing shared information atom. This method should only be used by the XNodeInfoTable.

ToString ( ) : string

Return InfoAtom formatted as a string: hash=xxx, {http://my.com}foo:bar, parent=1, sibling=1, lineNum=0, linePos=0

XPathNodeInfoAtom ( XPathNodePageInfo pageInfo ) : System.Collections

Construct information for the 0th node in each page. The only field which is defined is this.pageInfo, and it contains information about that page (pageNum, nextPage, etc.).

XPathNodeInfoAtom ( string localName, string namespaceUri, string prefix, string baseUri, XPathNode pageParent, XPathNode pageSibling, XPathNode pageSimilar, XPathDocument doc, int lineNumBase, int linePosBase ) : System.Collections

Construct a new shared information atom. This method should only be used by the XNodeInfoTable.

Method Details

Equals() public method

Return true if this InfoAtom has the same values as another InfoAtom.
public Equals ( object other ) : bool
other object
return bool

GetHashCode() public method

Return this information atom's hash code, previously computed for performance.
public GetHashCode ( ) : int
return int

Init() public method

Initialize an existing shared information atom. This method should only be used by the XNodeInfoTable.
public Init ( string localName, string namespaceUri, string prefix, string baseUri, XPathNode pageParent, XPathNode pageSibling, XPathNode pageSimilar, XPathDocument doc, int lineNumBase, int linePosBase ) : void
localName string
namespaceUri string
prefix string
baseUri string
pageParent XPathNode
pageSibling XPathNode
pageSimilar XPathNode
doc System.Xml.XPath.XPathDocument
lineNumBase int
linePosBase int
return void

ToString() public method

Return InfoAtom formatted as a string: hash=xxx, {http://my.com}foo:bar, parent=1, sibling=1, lineNum=0, linePos=0
public ToString ( ) : string
return string

XPathNodeInfoAtom() public method

Construct information for the 0th node in each page. The only field which is defined is this.pageInfo, and it contains information about that page (pageNum, nextPage, etc.).
public XPathNodeInfoAtom ( XPathNodePageInfo pageInfo ) : System.Collections
pageInfo XPathNodePageInfo
return System.Collections

XPathNodeInfoAtom() public method

Construct a new shared information atom. This method should only be used by the XNodeInfoTable.
public XPathNodeInfoAtom ( string localName, string namespaceUri, string prefix, string baseUri, XPathNode pageParent, XPathNode pageSibling, XPathNode pageSimilar, XPathDocument doc, int lineNumBase, int linePosBase ) : System.Collections
localName string
namespaceUri string
prefix string
baseUri string
pageParent XPathNode
pageSibling XPathNode
pageSimilar XPathNode
doc System.Xml.XPath.XPathDocument
lineNumBase int
linePosBase int
return System.Collections