XmlSchemaExternal.cs 967 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Author: Dwivedi, Ajay kumar
  2. // [email protected]
  3. using System;
  4. using System.Xml;
  5. using System.Xml.Serialization;
  6. namespace System.Xml.Schema
  7. {
  8. /// <summary>
  9. /// Summary description for XmlSchemaExternal.
  10. /// </summary>
  11. public abstract class XmlSchemaExternal : XmlSchemaObject
  12. {
  13. private string id;
  14. private XmlSchema schema;
  15. private string location;
  16. private XmlAttribute[] unhandledAttributes;
  17. protected XmlSchemaExternal()
  18. {
  19. }
  20. [XmlAttribute]
  21. public string Id
  22. {
  23. get{ return id; }
  24. set{ id = value; }
  25. }
  26. [XmlIgnore]
  27. public XmlSchema Schema
  28. {
  29. get{ return schema; }
  30. set{ schema = value; }
  31. }
  32. [XmlAttribute]
  33. public string SchemaLocation
  34. {
  35. get{ return location; }
  36. set{ location = value; }
  37. }
  38. [XmlAnyAttribute]
  39. public XmlAttribute[] UnhandledAttributes
  40. {
  41. get{ return unhandledAttributes; }
  42. set{ unhandledAttributes = value; }
  43. }
  44. }
  45. }