Welcome to mirror list, hosted at ThFree Co, Russian Federation.

XmlSchemaObjectEnumerator.cs « System.Xml.Schema « System.XML « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6c2af9513d595b8bcdbae8f910e2da697548e30a (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
48
49
// Author: Dwivedi, Ajay kumar
//            Adwiv@Yahoo.com
using System;
using System.Collections;

namespace System.Xml.Schema
{
	/// <summary>
	/// Summary description for XmlSchemaObjectEnumerator.
	/// </summary>
	public sealed class XmlSchemaObjectEnumerator : IEnumerator
	{
		private IEnumerator ienum;
		internal XmlSchemaObjectEnumerator(IList list)
		{
			this.ienum = list.GetEnumerator();
		}
		// Properties
		public XmlSchemaObject Current
		{ 
			get
			{
				return (XmlSchemaObject) ienum.Current; 
			}
		}
		// Methods
		public bool MoveNext()
		{
			return ienum.MoveNext();
		}
		public void Reset()
		{
			ienum.Reset();
		}
		//Explicit Interface implementation
		bool IEnumerator.MoveNext()
		{
			return ienum.MoveNext();
		}
		void IEnumerator.Reset()
		{
			ienum.Reset();
		}
		object IEnumerator.Current
		{
			get{return (XmlSchema) ienum.Current;}
		}
	}
}