| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Author: Dwivedi, Ajay kumar
- // [email protected]
- using System;
- using System.Xml;
- using System.Xml.Serialization;
- namespace System.Xml.Schema
- {
- /// <summary>
- /// Summary description for XmlSchemaSimpleContentRestriction.
- /// </summary>
- public class XmlSchemaSimpleContentRestriction : XmlSchemaContent
- {
-
- private XmlSchemaAnyAttribute any;
- private XmlSchemaObjectCollection attributes;
- private XmlSchemaSimpleType baseType;
- private XmlQualifiedName baseTypeName;
- private XmlSchemaObjectCollection facets;
- public XmlSchemaSimpleContentRestriction()
- {
- baseTypeName = XmlQualifiedName.Empty;
- attributes = new XmlSchemaObjectCollection();
- facets = new XmlSchemaObjectCollection();
- }
- [XmlElement]
- public XmlSchemaAnyAttribute AnyAttribute
- {
- get{ return any; }
- set{ any = value; }
- }
- [XmlElement]
- public XmlSchemaObjectCollection Attributes
- {
- get{ return attributes; }
- }
- [XmlElement]
- public XmlSchemaSimpleType BaseType
- {
- get{ return baseType; }
- set{ baseType = value; }
- }
- [XmlAttribute]
- public XmlQualifiedName BaseTypeName
- {
- get{ return baseTypeName; }
- set{ baseTypeName = value; }
- }
- [XmlElement]
- public XmlSchemaObjectCollection Facets
- {
- get{ return facets; }
- }
- }
- }
|