XmlSchemaImport.cs 748 B

123456789101112131415161718192021222324252627282930313233
  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 XmlSchemaImport.
  9. /// </summary>
  10. public class XmlSchemaImport : XmlSchemaExternal
  11. {
  12. private XmlSchemaAnnotation annotation;
  13. private string nameSpace;
  14. public XmlSchemaImport()
  15. {
  16. }
  17. [XmlElement("annotation",Namespace="http://www.w3.org/2001/XMLSchema")]
  18. public XmlSchemaAnnotation Annotation
  19. {
  20. get{ return annotation; }
  21. set{ annotation = value; }
  22. }
  23. [System.Xml.Serialization.XmlAttribute("namespace")]
  24. public string Namespace
  25. {
  26. get{ return nameSpace; }
  27. set{ nameSpace = value; }
  28. }
  29. }
  30. }