1 // Author: Dwivedi, Ajay kumar
\r
4 using System.Collections;
\r
7 namespace System.Xml.Schema
\r
10 /// Summary description for XmlSchemaObjectTable.
\r
12 public class XmlSchemaObjectTable
\r
14 private Hashtable table;
\r
16 internal XmlSchemaObjectTable()
\r
18 table = new Hashtable();
\r
22 get{ return table.Count; }
\r
24 public XmlSchemaObject this[XmlQualifiedName name]
\r
26 get{ return (XmlSchemaObject) table[name]; }
\r
28 public ICollection Names
\r
30 get{ return table.Keys; }
\r
32 public ICollection Values
\r
34 get{ return table.Values;}
\r
37 public bool Contains(XmlQualifiedName name)
\r
39 return table.Contains(name);
\r
41 public IDictionaryEnumerator GetEnumerator()
\r
43 return table.GetEnumerator();
\r