Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XmlSchemaCollectionEnumerator.cs
Go to the documentation of this file.
1
using
System.Collections
;
2
3
namespace
System.Xml.Schema
;
4
5
public
sealed
class
XmlSchemaCollectionEnumerator
:
IEnumerator
6
{
7
private
readonly
IDictionaryEnumerator
_enumerator
;
8
9
object
?
IEnumerator.Current
=>
Current
;
10
11
public
XmlSchema
?
Current
=> ((
XmlSchemaCollectionNode
)
_enumerator
.
Value
)?.Schema;
12
13
internal
XmlSchemaCollectionNode
?
CurrentNode
=> (
XmlSchemaCollectionNode
)
_enumerator
.
Value
;
14
15
internal
XmlSchemaCollectionEnumerator
(
Hashtable
collection
)
16
{
17
_enumerator
=
collection
.GetEnumerator();
18
}
19
20
void
IEnumerator
.
Reset
()
21
{
22
_enumerator
.
Reset
();
23
}
24
25
bool
IEnumerator
.
MoveNext
()
26
{
27
return
_enumerator
.
MoveNext
();
28
}
29
30
public
bool
MoveNext
()
31
{
32
return
_enumerator
.
MoveNext
();
33
}
34
}
System.Collections.Hashtable
Definition
Hashtable.cs:13
System.Xml.Schema.XmlSchemaCollectionEnumerator.Current
object? IEnumerator. Current
Definition
XmlSchemaCollectionEnumerator.cs:9
System.Xml.Schema.XmlSchemaCollectionEnumerator.XmlSchemaCollectionEnumerator
XmlSchemaCollectionEnumerator(Hashtable collection)
Definition
XmlSchemaCollectionEnumerator.cs:15
System.Xml.Schema.XmlSchemaCollectionEnumerator.CurrentNode
XmlSchemaCollectionNode? CurrentNode
Definition
XmlSchemaCollectionEnumerator.cs:13
System.Xml.Schema.XmlSchemaCollectionEnumerator._enumerator
readonly IDictionaryEnumerator _enumerator
Definition
XmlSchemaCollectionEnumerator.cs:7
System.Xml.Schema.XmlSchemaCollectionEnumerator.MoveNext
bool MoveNext()
Definition
XmlSchemaCollectionEnumerator.cs:30
System.Xml.Schema.XmlSchemaCollectionEnumerator
Definition
XmlSchemaCollectionEnumerator.cs:6
System.Xml.Schema.XmlSchemaCollectionNode
Definition
XmlSchemaCollectionNode.cs:4
System.Xml.Schema.XmlSchema
Definition
XmlSchema.cs:12
System.Collections.IDictionaryEnumerator.Value
object? Value
Definition
IDictionaryEnumerator.cs:7
System.Collections.IDictionaryEnumerator
Definition
IDictionaryEnumerator.cs:4
System.Collections.IEnumerator.MoveNext
bool MoveNext()
System.Collections.IEnumerator.Reset
void Reset()
System.Collections.IEnumerator
Definition
IEnumerator.cs:4
System.Collections
Definition
BlockingCollection.cs:8
System.Xml.Schema
Definition
Extensions.cs:3
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.collection
@ collection
source
System.Private.Xml
System.Xml.Schema
XmlSchemaCollectionEnumerator.cs
Generated by
1.10.0