Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlEmptySortKey.cs
Go to the documentation of this file.
1
namespace
System.Xml.Xsl.Runtime
;
2
3
internal
sealed
class
XmlEmptySortKey
:
XmlSortKey
4
{
5
private
readonly
bool
_isEmptyGreatest
;
6
7
public
bool
IsEmptyGreatest
=>
_isEmptyGreatest
;
8
9
public
XmlEmptySortKey
(
XmlCollation
collation
)
10
{
11
_isEmptyGreatest
=
collation.EmptyGreatest
!=
collation
.DescendingOrder;
12
}
13
14
public
override
int
CompareTo
(
object
obj
)
15
{
16
if
(!(
obj
is
XmlEmptySortKey
that
))
17
{
18
return
-(
obj
as
XmlSortKey
).
CompareTo
(
this
);
19
}
20
return
BreakSortingTie
(
that
);
21
}
22
}
System.Xml.Xsl.Runtime.XmlCollation
Definition
XmlCollation.cs:9
System.Xml.Xsl.Runtime.XmlEmptySortKey.IsEmptyGreatest
bool IsEmptyGreatest
Definition
XmlEmptySortKey.cs:7
System.Xml.Xsl.Runtime.XmlEmptySortKey._isEmptyGreatest
readonly bool _isEmptyGreatest
Definition
XmlEmptySortKey.cs:5
System.Xml.Xsl.Runtime.XmlEmptySortKey.CompareTo
override int CompareTo(object obj)
Definition
XmlEmptySortKey.cs:14
System.Xml.Xsl.Runtime.XmlEmptySortKey.XmlEmptySortKey
XmlEmptySortKey(XmlCollation collation)
Definition
XmlEmptySortKey.cs:9
System.Xml.Xsl.Runtime.XmlEmptySortKey
Definition
XmlEmptySortKey.cs:4
System.Xml.Xsl.Runtime.XmlSortKey.BreakSortingTie
int BreakSortingTie(XmlSortKey that)
Definition
XmlSortKey.cs:33
System.Xml.Xsl.Runtime.XmlSortKey
Definition
XmlSortKey.cs:4
System.Xml.Xsl.Runtime
Definition
AncestorDocOrderIterator.cs:4
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.obj
@ obj
source
System.Private.Xml
System.Xml.Xsl.Runtime
XmlEmptySortKey.cs
Generated by
1.10.0