XmlSchemaSequence.cs 986 B

1234567891011121314151617181920212223242526272829
  1. // Author: Dwivedi, Ajay kumar
  2. // [email protected]
  3. using System;
  4. using System.Xml.Serialization;
  5. namespace System.Xml.Schema
  6. {
  7. /// <summary>
  8. /// Summary description for XmlSchemaSequence.
  9. /// </summary>
  10. public class XmlSchemaSequence : XmlSchemaGroupBase
  11. {
  12. private XmlSchemaObjectCollection items;
  13. public XmlSchemaSequence()
  14. {
  15. items = new XmlSchemaObjectCollection();
  16. }
  17. [XmlElement("element",typeof(XmlSchemaElement),Namespace="http://www.w3.org/2001/XMLSchema")]
  18. [XmlElement("group",typeof(XmlSchemaGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
  19. [XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
  20. [XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
  21. [XmlElement("any",typeof(XmlSchemaAny),Namespace="http://www.w3.org/2001/XMLSchema")]
  22. public override XmlSchemaObjectCollection Items
  23. {
  24. get{ return items; }
  25. }
  26. }
  27. }