XmlSchemaSimpleContent.cs 735 B

123456789101112131415161718192021222324252627
  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 XmlSchemaSimpleContent.
  9. /// </summary>
  10. public class XmlSchemaSimpleContent : XmlSchemaContentModel
  11. {
  12. private XmlSchemaContent content;
  13. public XmlSchemaSimpleContent()
  14. {
  15. }
  16. [XmlElement("restriction",typeof(XmlSchemaSimpleContentRestriction),Namespace="http://www.w3.org/2001/XMLSchema")]
  17. [XmlElement("extension",typeof(XmlSchemaSimpleContentExtension),Namespace="http://www.w3.org/2001/XMLSchema")]
  18. public override XmlSchemaContent Content
  19. {
  20. get{ return content; }
  21. set{ content = value; }
  22. }
  23. }
  24. }