| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Author: Dwivedi, Ajay kumar
- // [email protected]
- 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;}
- }
- }
- }
|