XmlSchemaAny.cs 824 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Author: Dwivedi, Ajay kumar
  2. // [email protected]
  3. using System;
  4. using System.Xml.Serialization;
  5. using System.ComponentModel;
  6. namespace System.Xml.Schema
  7. {
  8. /// <summary>
  9. /// Summary description for XmlSchemaAny.
  10. /// </summary>
  11. public class XmlSchemaAny : XmlSchemaParticle
  12. {
  13. private string nameSpace;
  14. private XmlSchemaContentProcessing processing;
  15. public XmlSchemaAny()
  16. {
  17. nameSpace = string.Empty;
  18. processing = XmlSchemaContentProcessing.Strict;
  19. }
  20. [XmlAttribute]
  21. public string Namespace
  22. {
  23. get{ return nameSpace; }
  24. set{ nameSpace = value; }
  25. }
  26. [DefaultValue(XmlSchemaContentProcessing.Strict)]
  27. [XmlAttribute]
  28. public XmlSchemaContentProcessing ProcessContents
  29. {
  30. get{ return processing; }
  31. set{ processing = value; }
  32. }
  33. }
  34. }