Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2002-03-19 18:27:27 +0300
committerMiguel de Icaza <miguel@gnome.org>2002-03-19 18:27:27 +0300
commitaa2c54ee1f8ef48d0ba3d02bd82bb15841d2abe4 (patch)
treee5674e0960f8782ec099be0820b7a61933b4ce13 /mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs
parent8e5332365ae9eaf3a602cdd92ebcced011ee7137 (diff)
Add System.Xml.Schema from Ajay
svn path=/trunk/mcs/; revision=3216
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs')
-rwxr-xr-xmcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs57
1 files changed, 57 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs
new file mode 100755
index 00000000000..c173a3aa72e
--- /dev/null
+++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs
@@ -0,0 +1,57 @@
+// Author: Dwivedi, Ajay kumar
+// Adwiv@Yahoo.com
+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; }
+ }
+ }
+}