XmlSchemaGroup.cs 917 B

123456789101112131415161718192021222324252627282930313233343536
  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 XmlSchemaGroup.
  9. /// </summary>
  10. public class XmlSchemaGroup : XmlSchemaAnnotated
  11. {
  12. private string name;
  13. private XmlSchemaGroupBase particle;
  14. public XmlSchemaGroup()
  15. {
  16. }
  17. [System.Xml.Serialization.XmlAttribute("name")]
  18. public string Name
  19. {
  20. get{ return name; }
  21. set{ name = value; }
  22. }
  23. [XmlElement("all",typeof(XmlSchemaAll),Namespace="http://www.w3.org/2001/XMLSchema")]
  24. [XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
  25. [XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
  26. public XmlSchemaGroupBase Particle
  27. {
  28. get{ return particle; }
  29. set{ particle = value; }
  30. }
  31. }
  32. }