| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- // Author: Dwivedi, Ajay kumar
- // [email protected]
- using System;
- using System.Collections;
- using System.Xml;
- namespace System.Xml.Schema
- {
- /// <summary>
- /// Summary description for XmlSchemaObjectTable.
- /// </summary>
- public class XmlSchemaObjectTable
- {
- private Hashtable table;
- protected XmlSchemaObjectTable()
- {
- table = new Hashtable();
- }
- public int Count
- {
- get{ return table.Count; }
- }
- public XmlSchemaObject this[XmlQualifiedName name]
- {
- get{ return (XmlSchemaObject) table[name]; }
- }
- public ICollection Names
- {
- get{ return table.Keys; }
- }
- public ICollection Values
- {
- get{ return table.Values;}
- }
- public bool Contains(XmlQualifiedName name)
- {
- return table.Contains(name);
- }
- public IDictionaryEnumerator GetEnumerator()
- {
- return table.GetEnumerator();
- }
- }
- }
|