blob: 3130c3094acde5f339481cd72caafe679bf7956f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
// Author: Dwivedi, Ajay kumar
// Adwiv@Yahoo.com
using System;
using System.Collections;
namespace System.Xml.Schema
{
/// <summary>
/// Summary description for XmlSchemaCollectionEnumerator.
/// </summary>
public sealed class XmlSchemaCollectionEnumerator : IEnumerator
{
private IDictionaryEnumerator xenum;
internal XmlSchemaCollectionEnumerator(Hashtable htable)
{
this.xenum = htable.GetEnumerator();
}
// Properties
public XmlSchema Current
{
get
{
return (XmlSchema) xenum.Current;
}
}
// Methods
public bool MoveNext()
{
return xenum.MoveNext();
}
//Explicit Interface implementation
bool IEnumerator.MoveNext()
{
return xenum.MoveNext();
}
void IEnumerator.Reset()
{
xenum.Reset();
}
object IEnumerator.Current
{
get{return (XmlSchema) xenum.Current;}
}
}
}
|