XmlSchemaComplexContentRestriction.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 XmlSchemaComplexContentRestriction.
  10. /// </summary>
  11. public class XmlSchemaComplexContentRestriction
  12. {
  13. private XmlSchemaAnyAttribute any;
  14. private XmlSchemaObjectCollection attributes;
  15. private XmlQualifiedName baseTypeName;
  16. private XmlSchemaParticle particle;
  17. public XmlSchemaComplexContentRestriction()
  18. {
  19. baseTypeName = XmlQualifiedName.Empty;
  20. attributes = new XmlSchemaObjectCollection();
  21. }
  22. [XmlElement]
  23. public XmlSchemaAnyAttribute AnyAttribute
  24. {
  25. get{ return any; }
  26. set{ any = value; }
  27. }
  28. [XmlElement]
  29. public XmlSchemaObjectCollection Attributes
  30. {
  31. get{ return attributes; }
  32. }
  33. [XmlAttribute]
  34. public XmlQualifiedName BaseTypeName
  35. {
  36. get{ return baseTypeName; }
  37. set{ baseTypeName = value; }
  38. }
  39. [XmlElement]
  40. public XmlSchemaParticle Particle
  41. {
  42. get{ return particle; }
  43. set{ particle = value; }
  44. }
  45. }
  46. }