XmlSchemaAnnotation.cs 817 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 XmlSchemaAnnotation.
  10. /// </summary>
  11. public class XmlSchemaAnnotation : XmlSchemaObject
  12. {
  13. private string id;
  14. private XmlSchemaObjectCollection items;
  15. private XmlAttribute[] unhandledAttributes;
  16. public XmlSchemaAnnotation()
  17. {
  18. }
  19. [XmlAttribute]
  20. public string Id
  21. {
  22. get{ return id; }
  23. set{ id = value; }
  24. }
  25. [XmlElement]
  26. public XmlSchemaObjectCollection Items
  27. {
  28. get{ return items; }
  29. }
  30. [XmlAnyAttribute]
  31. public XmlAttribute[] UnhandledAttributes
  32. {
  33. get{ return unhandledAttributes; }
  34. set{ unhandledAttributes = value; }
  35. }
  36. }
  37. }