XmlSchemaComplexContent.cs 906 B

12345678910111213141516171819202122232425262728293031323334
  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 XmlSchemaComplexContent.
  9. /// </summary>
  10. public class XmlSchemaComplexContent : XmlSchemaContentModel
  11. {
  12. private XmlSchemaContent content;
  13. private bool isMixed;
  14. public XmlSchemaComplexContent()
  15. {}
  16. [XmlElement("restriction",typeof(XmlSchemaComplexContentRestriction),Namespace="http://www.w3.org/2001/XMLSchema")]
  17. [XmlElement("extension",typeof(XmlSchemaComplexContentExtension),Namespace="http://www.w3.org/2001/XMLSchema")]
  18. public override XmlSchemaContent Content
  19. {
  20. get{ return content; }
  21. set{ content = value; }
  22. }
  23. [System.Xml.Serialization.XmlAttribute("mixed")]
  24. public bool IsMixed
  25. {
  26. get{ return isMixed; }
  27. set{ isMixed = value; }
  28. }
  29. }
  30. }