diff options
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Serialization/XmlElementAttribute.cs')
-rw-r--r-- | mcs/class/System.XML/System.Xml.Serialization/XmlElementAttribute.cs | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/mcs/class/System.XML/System.Xml.Serialization/XmlElementAttribute.cs b/mcs/class/System.XML/System.Xml.Serialization/XmlElementAttribute.cs deleted file mode 100644 index 3a00225004c..00000000000 --- a/mcs/class/System.XML/System.Xml.Serialization/XmlElementAttribute.cs +++ /dev/null @@ -1,95 +0,0 @@ -// -// XmlElementAttribute.cs: -// -// Author: -// John Donagher (john@webmeta.com) -// -// (C) 2002 John Donagher -// - -using System.Xml.Schema;
-using System;
-
-namespace System.Xml.Serialization
-{
- /// <summary>
- /// Summary description for XmlElementAttribute.
- /// </summary
- [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
- | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple=true)]
- public class XmlElementAttribute : Attribute
- {
- private string dataType;
- private string elementName;
- private XmlSchemaForm form;
- private string ns;
- private bool isNullable;
- private Type type;
-
- public XmlElementAttribute ()
- {
- }
- public XmlElementAttribute (string elementName)
- {
- ElementName = elementName;
- }
- public XmlElementAttribute (Type type)
- {
- Type = type;
- }
- public XmlElementAttribute (string elementName, Type type)
- {
- ElementName = elementName;
- Type = type;
- }
-
- public string DataType {
- get { - return dataType; - }
- set { - dataType = value; - }
- }
- public string ElementName {
- get { - return elementName; - }
- set { - elementName = value; - }
- }
- public XmlSchemaForm Form {
- get { - return form; - }
- set { - form = value; - }
- }
- public string Namespace {
- get { - return ns; - }
- set { - ns = value; - }
- }
- public bool IsNullable {
- get { - return isNullable; - }
- set { - isNullable = value; - }
- }
- public Type Type {
- get { - return type; - }
- set { - type = value; - }
- }
- }
-}
|