Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XPathExpression.cs
Go to the documentation of this file.
1
using
System.Collections
;
2
using
MS.Internal.Xml.XPath
;
3
4
namespace
System.Xml.XPath
;
5
6
public
abstract
class
XPathExpression
7
{
8
public
abstract
string
Expression
{
get
; }
9
10
public
abstract
XPathResultType
ReturnType
{
get
; }
11
12
internal
XPathExpression
()
13
{
14
}
15
16
public
abstract
void
AddSort
(
object
expr,
IComparer
comparer
);
17
18
public
abstract
void
AddSort
(
object
expr,
XmlSortOrder
order,
XmlCaseOrder
caseOrder,
string
lang,
XmlDataType
dataType);
19
20
public
abstract
XPathExpression
Clone
();
21
22
public
abstract
void
SetContext
(
XmlNamespaceManager
nsManager
);
23
24
public
abstract
void
SetContext
(
IXmlNamespaceResolver
?
nsResolver
);
25
26
public
static
XPathExpression
Compile
(
string
xpath
)
27
{
28
return
Compile
(
xpath
,
null
);
29
}
30
31
public
static
XPathExpression
Compile
(
string
xpath
,
IXmlNamespaceResolver
?
nsResolver
)
32
{
33
bool
needContext
;
34
Query
query
=
new
QueryBuilder
().
Build
(
xpath
,
out
needContext
);
35
CompiledXpathExpr
compiledXpathExpr
=
new
CompiledXpathExpr
(
query
,
xpath
,
needContext
);
36
if
(
nsResolver
!=
null
)
37
{
38
compiledXpathExpr
.SetContext(
nsResolver
);
39
}
40
return
compiledXpathExpr
;
41
}
42
}
MS.Internal.Xml.XPath.CompiledXpathExpr
Definition
CompiledXpathExpr.cs:10
MS.Internal.Xml.XPath.QueryBuilder.Build
Query Build(AstNode root, string query)
Definition
QueryBuilder.cs:420
MS.Internal.Xml.XPath.QueryBuilder
Definition
QueryBuilder.cs:8
MS.Internal.Xml.XPath.Query
Definition
Query.cs:13
System.Xml.XPath.XPathExpression.XPathExpression
XPathExpression()
Definition
XPathExpression.cs:12
System.Xml.XPath.XPathExpression.SetContext
void SetContext(XmlNamespaceManager nsManager)
System.Xml.XPath.XPathExpression.AddSort
void AddSort(object expr, XmlSortOrder order, XmlCaseOrder caseOrder, string lang, XmlDataType dataType)
System.Xml.XPath.XPathExpression.Clone
XPathExpression Clone()
System.Xml.XPath.XPathExpression.Expression
string Expression
Definition
XPathExpression.cs:8
System.Xml.XPath.XPathExpression.AddSort
void AddSort(object expr, IComparer comparer)
System.Xml.XPath.XPathExpression.Compile
static XPathExpression Compile(string xpath)
Definition
XPathExpression.cs:26
System.Xml.XPath.XPathExpression.ReturnType
XPathResultType ReturnType
Definition
XPathExpression.cs:10
System.Xml.XPath.XPathExpression.SetContext
void SetContext(IXmlNamespaceResolver? nsResolver)
System.Xml.XPath.XPathExpression.Compile
static XPathExpression Compile(string xpath, IXmlNamespaceResolver? nsResolver)
Definition
XPathExpression.cs:31
System.Xml.XPath.XPathExpression
Definition
XPathExpression.cs:7
System.Xml.XmlNamespaceManager
Definition
XmlNamespaceManager.cs:8
System.Collections.IComparer
Definition
IComparer.cs:4
System.Xml.IXmlNamespaceResolver
Definition
IXmlNamespaceResolver.cs:6
MS.Internal.Xml.XPath
Definition
AbsoluteQuery.cs:3
System.Collections
Definition
BlockingCollection.cs:8
System.Xml.XPath.XPathResultType
XPathResultType
Definition
XPathResultType.cs:4
System.Xml.XPath.XmlCaseOrder
XmlCaseOrder
Definition
XmlCaseOrder.cs:4
System.Xml.XPath.XmlSortOrder
XmlSortOrder
Definition
XmlSortOrder.cs:4
System.Xml.XPath.XmlDataType
XmlDataType
Definition
XmlDataType.cs:4
System.Xml.XPath
Definition
Extensions.cs:5
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.comparer
@ comparer
source
System.Private.Xml
System.Xml.XPath
XPathExpression.cs
Generated by
1.10.0