dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml/Serialization SoapAttribut


From: Richard Baumann <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml/Serialization SoapAttributeAttribute.cs, 1.1, 1.2 SoapElementAttribute.cs, 1.1, 1.2 SoapEnumAttribute.cs, 1.1, 1.2 SoapIgnoreAttribute.cs, 1.1, 1.2 SoapIncludeAttribute.cs, 1.1, 1.2 SoapTypeAttribute.cs, 1.1, 1.2 XmlAnyAttributeAttribute.cs, 1.1, 1.2 XmlAnyElementAttribute.cs, 1.1, 1.2 XmlArrayAttribute.cs, 1.1, 1.2 XmlArrayItemAttribute.cs, 1.1, 1.2 XmlAttributeAttribute.cs, 1.1, 1.2 XmlChoiceIdentifierAttribute.cs, 1.1, 1.2 XmlElementAttribute.cs, 1.1, 1.2 XmlEnumAttribute.cs, 1.1, 1.2 XmlIgnoreAttribute.cs, 1.1, 1.2 XmlIncludeAttribute.cs, 1.1, 1.2 XmlNamespaceDeclarationsAttribute.cs, 1.1, 1.2 XmlRootAttribute.cs, 1.1, 1.2 XmlTextAttribute.cs, 1.1, 1.2 XmlTypeAttribute.cs, 1.1, 1.2
Date: Thu, 07 Aug 2003 10:02:12 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization
In directory subversions:/tmp/cvs-serv8853/System.Xml/Serialization

Modified Files:
        SoapAttributeAttribute.cs SoapElementAttribute.cs 
        SoapEnumAttribute.cs SoapIgnoreAttribute.cs 
        SoapIncludeAttribute.cs SoapTypeAttribute.cs 
        XmlAnyAttributeAttribute.cs XmlAnyElementAttribute.cs 
        XmlArrayAttribute.cs XmlArrayItemAttribute.cs 
        XmlAttributeAttribute.cs XmlChoiceIdentifierAttribute.cs 
        XmlElementAttribute.cs XmlEnumAttribute.cs 
        XmlIgnoreAttribute.cs XmlIncludeAttribute.cs 
        XmlNamespaceDeclarationsAttribute.cs XmlRootAttribute.cs 
        XmlTextAttribute.cs XmlTypeAttribute.cs 
Log Message:
Implement xml serialization attributes and kill some assembly related 
TODOs.


Index: SoapAttributeAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/SoapAttributeAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SoapAttributeAttribute.cs   7 Aug 2003 02:43:38 -0000       1.1
--- SoapAttributeAttribute.cs   7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,97 ****
  public class SoapAttributeAttribute : Attribute
  {
!       [TODO]
        public SoapAttributeAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
! 
!       [TODO]
!       public SoapAttributeAttribute(String attrName)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String AttributeName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("AttributeName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("AttributeName");
                                }
                        }
- 
-       [TODO]
        public String DataType
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
                                }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
  
--- 34,82 ----
  public class SoapAttributeAttribute : Attribute
  {
!       // Internal state.
!       private String attributeName;
!       private String dataType;
!       private String nspace;
! 
!       // Constructors.
        public SoapAttributeAttribute()
                        : base()
                        {
!                               this.attributeName = "";
!                               this.dataType = "";
!                               this.nspace = null;
                        }
!       public SoapAttributeAttribute(String attributeName)
                        : base()
                        {
!                               if (attributeName == null) { attributeName = 
""; }
!                               this.attributeName = attributeName;
!                               this.dataType = "";
!                               this.nspace = null;
                        }
  
!       // Properties.
        public String AttributeName
                        {
!                               get { return attributeName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       attributeName = value;
                                }
                        }
        public String DataType
                        {
!                               get { return dataType; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       dataType = value;
                                }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value; }
                        }
  

Index: SoapElementAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/SoapElementAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SoapElementAttribute.cs     7 Aug 2003 02:43:38 -0000       1.1
--- SoapElementAttribute.cs     7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,97 ****
  public class SoapElementAttribute : Attribute
  {
!       [TODO]
        public SoapElementAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public SoapElementAttribute(String elementName)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String DataType
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
                                }
                        }
- 
-       [TODO]
        public String ElementName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
                                }
                        }
- 
-       [TODO]
        public bool IsNullable
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
!                               }
                        }
  
--- 34,82 ----
  public class SoapElementAttribute : Attribute
  {
!       // Internal state.
!       private String dataType;
!       private String elementName;
!       private bool isNullable;
! 
!       // Constructors.
        public SoapElementAttribute()
                        : base()
                        {
!                               this.dataType = "";
!                               this.elementName = "";
!                               this.isNullable = false;
                        }
        public SoapElementAttribute(String elementName)
                        : base()
                        {
!                               if (elementName == null) { elementName = ""; }
!                               this.dataType = "";
!                               this.elementName = elementName;
!                               this.isNullable = false;
                        }
  
!       // Properties.
        public String DataType
                        {
!                               get { return dataType; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       dataType = value;
                                }
                        }
        public String ElementName
                        {
!                               get { return elementName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       elementName = value;
                                }
                        }
        public bool IsNullable
                        {
!                               get { return isNullable; }
!                               set { isNullable = value; }
                        }
  

Index: SoapEnumAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/SoapEnumAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SoapEnumAttribute.cs        7 Aug 2003 02:43:38 -0000       1.1
--- SoapEnumAttribute.cs        7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,63 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Field)]
  public class SoapEnumAttribute : Attribute
  {
!       [TODO]
        public SoapEnumAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public SoapEnumAttribute(String name)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String Name
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Name");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("Name");
                                }
                        }
--- 28,58 ----
  using System.Xml;
  
  [AttributeUsage(AttributeTargets.Field)]
  public class SoapEnumAttribute : Attribute
  {
!       // Internal state.
!       private String name;
! 
!       // Constructors.
        public SoapEnumAttribute()
                        : base()
                        {
!                               this.name = "";
                        }
        public SoapEnumAttribute(String name)
                        : base()
                        {
!                               if (name == null) { name = ""; }
!                               this.name = name;
                        }
  
!       // Property.
        public String Name
                        {
!                               get { return name; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       name = value;
                                }
                        }

Index: SoapIgnoreAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/SoapIgnoreAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SoapIgnoreAttribute.cs      7 Aug 2003 02:43:38 -0000       1.1
--- SoapIgnoreAttribute.cs      7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,45 ****
  public class SoapIgnoreAttribute : Attribute
  {
!       [TODO]
!       public SoapIgnoreAttribute()
!                       : base()
!                       {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
!                       }
  
  }; // class SoapIgnoreAttribute
--- 34,38 ----
  public class SoapIgnoreAttribute : Attribute
  {
!       public SoapIgnoreAttribute() : base() {}
  
  }; // class SoapIgnoreAttribute

Index: SoapIncludeAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/SoapIncludeAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SoapIncludeAttribute.cs     7 Aug 2003 02:43:38 -0000       1.1
--- SoapIncludeAttribute.cs     7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Class |
                  AttributeTargets.Struct |
--- 28,31 ----
***************
*** 34,58 ****
  public class SoapIncludeAttribute : Attribute
  {
!       [TODO]
        public SoapIncludeAttribute(Type type)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public Type Type
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
                        }
  
--- 33,51 ----
  public class SoapIncludeAttribute : Attribute
  {
!       // Internal state.
!       private Type type;
! 
!       // Constructor.
        public SoapIncludeAttribute(Type type)
                        : base()
                        {
!                               this.type = type;
                        }
  
!       // Property.
        public Type Type
                        {
!                               get { return type; }
!                               set { type = value; }
                        }
  

Index: SoapTypeAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/SoapTypeAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** SoapTypeAttribute.cs        7 Aug 2003 02:43:38 -0000       1.1
--- SoapTypeAttribute.cs        7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Class |
                  AttributeTargets.Struct |
--- 28,31 ----
***************
*** 35,104 ****
  public class SoapTypeAttribute : Attribute
  {
!       [TODO]
        public SoapTypeAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public SoapTypeAttribute(String typeName)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public SoapTypeAttribute(String typeName, String ns)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public bool IncludeInSchema
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IncludeInSchema");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IncludeInSchema");
!                               }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
- 
-       [TODO]
        public String TypeName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("TypeName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("TypeName");
                                }
                        }
--- 34,85 ----
  public class SoapTypeAttribute : Attribute
  {
!       // Internal state.
!       private bool includeInSchema;
!       private String nspace;
!       private String typeName;
! 
!       // Constructors.
        public SoapTypeAttribute()
                        : base()
                        {
!                               this.includeInSchema = true;
!                               this.nspace = null;
!                               this.typeName = "";
                        }
        public SoapTypeAttribute(String typeName)
                        : base()
                        {
!                               if (typeName == null) { typeName = ""; }
!                               this.includeInSchema = true;
!                               this.nspace = null;
!                               this.typeName = typeName;
                        }
        public SoapTypeAttribute(String typeName, String ns)
                        : base()
                        {
!                               if (typeName == null) { typeName = ""; }
!                               this.includeInSchema = true;
!                               this.nspace = ns;
!                               this.typeName = typeName;
                        }
  
!       // Properties.
        public bool IncludeInSchema
                        {
!                               get { return includeInSchema; }
!                               set { includeInSchema = value; }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value; }
                        }
        public String TypeName
                        {
!                               get { return typeName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       typeName = value;
                                }
                        }

Index: XmlAnyAttributeAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlAnyAttributeAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlAnyAttributeAttribute.cs 7 Aug 2003 02:43:38 -0000       1.1
--- XmlAnyAttributeAttribute.cs 7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,45 ****
  public class XmlAnyAttributeAttribute : Attribute
  {
!       [TODO]
!       public XmlAnyAttributeAttribute()
!                       : base()
!                       {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
!                       }
  
  }; // class XmlAnyAttributeAttribute
--- 34,38 ----
  public class XmlAnyAttributeAttribute : Attribute
  {
!       public XmlAnyAttributeAttribute() : base() {}
  
  }; // class XmlAnyAttributeAttribute

Index: XmlAnyElementAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlAnyElementAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlAnyElementAttribute.cs   7 Aug 2003 02:43:38 -0000       1.1
--- XmlAnyElementAttribute.cs   7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,90 ****
  public class XmlAnyElementAttribute : Attribute
  {
!       [TODO]
        public XmlAnyElementAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlAnyElementAttribute(String name)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
! 
!       [TODO]
!       public XmlAnyElementAttribute(String name, String ns)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String Name
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Name");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("Name");
                                }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
  
--- 34,77 ----
  public class XmlAnyElementAttribute : Attribute
  {
!       // Internal state.
!       private String name;
!       private String nspace;
! 
!       // Constructors.
        public XmlAnyElementAttribute()
                        : base()
                        {
!                               this.name = "";
!                               this.nspace = null;
                        }
        public XmlAnyElementAttribute(String name)
                        : base()
                        {
!                               if (name == null) { name = ""; }
!                               this.name = name;
!                               this.nspace = null;
                        }
!       public XmlAnyElementAttribute(String name, String nspace)
                        : base()
                        {
!                               if (name == null) { name = ""; }
!                               this.name = name;
!                               this.nspace = nspace;
                        }
  
!       // Properties.
        public String Name
                        {
!                               get { return name; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       name = value;
                                }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value; }
                        }
  

Index: XmlArrayAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlArrayAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlArrayAttribute.cs        7 Aug 2003 02:43:38 -0000       1.1
--- XmlArrayAttribute.cs        7 Aug 2003 14:02:09 -0000       1.2
***************
*** 29,33 ****
  using System.Xml.Schema;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 29,32 ----
***************
*** 36,113 ****
  public class XmlArrayAttribute : Attribute
  {
!       [TODO]
        public XmlArrayAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlArrayAttribute(String elementName)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String ElementName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
                                }
                        }
- 
-       [TODO]
        public XmlSchemaForm Form
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Form");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Form");
!                               }
                        }
- 
-       [TODO]
        public bool IsNullable
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
!                               }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
  
--- 35,87 ----
  public class XmlArrayAttribute : Attribute
  {
!       // Internal state.
!       private String elementName;
!       private XmlSchemaForm form;
!       private bool isNullable;
!       private String nspace;
! 
!       // Constructors.
        public XmlArrayAttribute()
                        : base()
                        {
!                               this.elementName = "";
!                               this.form = XmlSchemaForm.None;
!                               this.isNullable = false;
!                               this.nspace = null;
                        }
        public XmlArrayAttribute(String elementName)
                        : base()
                        {
!                               if (elementName == null) { elementName = ""; }
!                               this.elementName = elementName;
!                               this.form = XmlSchemaForm.None;
!                               this.isNullable = false;
!                               this.nspace = null;
                        }
  
!       // Properties.
        public String ElementName
                        {
!                               get { return elementName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       elementName = value;
                                }
                        }
        public XmlSchemaForm Form
                        {
!                               get { return form; }
!                               set { form = value; }
                        }
        public bool IsNullable
                        {
!                               get { return isNullable; }
!                               set { isNullable = value; }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value; }
                        }
  

Index: XmlArrayItemAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlArrayItemAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlArrayItemAttribute.cs    7 Aug 2003 02:43:38 -0000       1.1
--- XmlArrayItemAttribute.cs    7 Aug 2003 14:02:09 -0000       1.2
***************
*** 29,33 ****
  using System.Xml.Schema;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 29,32 ----
***************
*** 36,184 ****
  public class XmlArrayItemAttribute : Attribute
  {
!       [TODO]
        public XmlArrayItemAttribute()
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlArrayItemAttribute(String elementName)
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlArrayItemAttribute(Type type)
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlArrayItemAttribute(String elementName, Type type)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String DataType
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
                                }
                        }
- 
-       [TODO]
        public String ElementName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
                                }
                        }
- 
-       [TODO]
        public XmlSchemaForm Form
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Form");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Form");
!                               }
                        }
- 
-       [TODO]
        public bool IsNullable
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
                                }
                        }
- 
-       [TODO]
        public bool IsNullableSpecified
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullableSpecified");
!                               }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
- 
-       [TODO]
        public int NestingLevel
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("NestingLevel");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("NestingLevel");
!                               }
                        }
- 
-       [TODO]
        public Type Type
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
                        }
  
--- 35,126 ----
  public class XmlArrayItemAttribute : Attribute
  {
!       // Internal state.
!       private String dataType;
!       private String elementName;
!       private XmlSchemaForm form;
!       private bool isNullable;
!       private bool isNullableSpecified;
!       private String nspace;
!       private int nestingLevel;
!       private Type type;
! 
!       // Constructor.
        public XmlArrayItemAttribute()
!                       : this(null, null)
                        {
                        }
        public XmlArrayItemAttribute(String elementName)
!                       : this(elementName, null)
                        {
                        }
        public XmlArrayItemAttribute(Type type)
!                       : this(null, type)
                        {
                        }
        public XmlArrayItemAttribute(String elementName, Type type)
                        : base()
                        {
!                               if (elementName == null) { elementName = ""; }
!                               this.dataType = "";
!                               this.elementName = elementName;
!                               this.form = XmlSchemaForm.None;
!                               this.isNullable = false;
!                               this.isNullableSpecified = false;
!                               this.nspace = null;
!                               this.nestingLevel = 0;
!                               this.type = type;
                        }
  
!       // Properties.
        public String DataType
                        {
!                               get { return dataType; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       dataType = value;
                                }
                        }
        public String ElementName
                        {
!                               get { return elementName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       elementName = value;
                                }
                        }
        public XmlSchemaForm Form
                        {
!                               get { return form; }
!                               set { form = value; }
                        }
        public bool IsNullable
                        {
!                               get { return isNullable; }
                                set
                                {
!                                       isNullableSpecified = true;
!                                       isNullable = value;
                                }
                        }
        public bool IsNullableSpecified
                        {
!                               get { return isNullableSpecified; }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value; }
                        }
        public int NestingLevel
                        {
!                               get { return nestingLevel; }
!                               set { nestingLevel = value; }
                        }
        public Type Type
                        {
!                               get { return type; }
!                               set { type = value; }
                        }
  

Index: XmlAttributeAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlAttributeAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlAttributeAttribute.cs    7 Aug 2003 02:43:38 -0000       1.1
--- XmlAttributeAttribute.cs    7 Aug 2003 14:02:09 -0000       1.2
***************
*** 29,33 ****
  using System.Xml.Schema;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 29,32 ----
***************
*** 36,144 ****
  public class XmlAttributeAttribute : Attribute
  {
!       [TODO]
        public XmlAttributeAttribute()
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlAttributeAttribute(String attributeName)
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlAttributeAttribute(Type type)
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlAttributeAttribute(String attributeName, Type type)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String AttributeName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("AttributeName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("AttributeName");
                                }
                        }
- 
-       [TODO]
        public String DataType
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
                                }
                        }
- 
-       [TODO]
        public XmlSchemaForm Form
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Form");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Form");
!                               }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
- 
-       [TODO]
        public Type Type
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
                        }
  
--- 35,102 ----
  public class XmlAttributeAttribute : Attribute
  {
!       // Internal state.
!       private String attributeName;
!       private String dataType;
!       private XmlSchemaForm form;
!       private String nspace;
!       private Type type;
! 
!       // Constructors.
        public XmlAttributeAttribute()
!                       : this(null, null)
                        {
                        }
        public XmlAttributeAttribute(String attributeName)
!                       : this(attributeName, null)
                        {
                        }
        public XmlAttributeAttribute(Type type)
!                       : this(null, type)
                        {
                        }
        public XmlAttributeAttribute(String attributeName, Type type)
                        : base()
                        {
!                               if (attributeName == null) { attributeName = 
""; }
!                               this.attributeName = attributeName;
!                               this.dataType = "";
!                               this.form = XmlSchemaForm.None;
!                               this.nspace = null;
!                               this.type = type;
                        }
  
!       // Properties.
        public String AttributeName
                        {
!                               get { return attributeName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       attributeName = value;
                                }
                        }
        public String DataType
                        {
!                               get { return dataType; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       dataType = value;
                                }
                        }
        public XmlSchemaForm Form
                        {
!                               get { return form; }
!                               set { form = value; }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value; }
                        }
        public Type Type
                        {
!                               get { return type; }
!                               set { type = value; }
                        }
  

Index: XmlChoiceIdentifierAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlChoiceIdentifierAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlChoiceIdentifierAttribute.cs     7 Aug 2003 02:43:38 -0000       1.1
--- XmlChoiceIdentifierAttribute.cs     7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,66 ****
  public class XmlChoiceIdentifierAttribute : Attribute
  {
!       [TODO]
        public XmlChoiceIdentifierAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
! 
!       [TODO]
!       public XmlChoiceIdentifierAttribute(String name)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String MemberName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("MemberName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("MemberName");
                                }
                        }
--- 34,61 ----
  public class XmlChoiceIdentifierAttribute : Attribute
  {
!       // Internal state.
!       private String memberName;
! 
!       // Constructors.
        public XmlChoiceIdentifierAttribute()
                        : base()
                        {
!                               this.memberName = "";
                        }
!       public XmlChoiceIdentifierAttribute(String memberName)
                        : base()
                        {
!                               if (memberName == null) { memberName = ""; }
!                               this.memberName = memberName;
                        }
  
!       // Property.
        public String MemberName
                        {
!                               get { return memberName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       memberName = value;
                                }
                        }

Index: XmlElementAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlElementAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlElementAttribute.cs      7 Aug 2003 02:43:38 -0000       1.1
--- XmlElementAttribute.cs      7 Aug 2003 14:02:09 -0000       1.2
***************
*** 29,33 ****
  using System.Xml.Schema;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 29,32 ----
***************
*** 36,159 ****
  public class XmlElementAttribute : Attribute
  {
!       [TODO]
        public XmlElementAttribute()
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlElementAttribute(String elementName)
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlElementAttribute(Type type)
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlElementAttribute(String elementName, Type type)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String DataType
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
                                }
                        }
- 
-       [TODO]
        public String ElementName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
                                }
                        }
- 
-       [TODO]
        public XmlSchemaForm Form
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Form");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Form");
!                               }
                        }
- 
-       [TODO]
        public bool IsNullable
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
!                               }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
- 
-       [TODO]
        public Type Type
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
                        }
  
--- 35,109 ----
  public class XmlElementAttribute : Attribute
  {
!       // Internal state.
!       private String dataType;
!       private String elementName;
!       private XmlSchemaForm form;
!       private bool isNullable;
!       private String nspace;
!       private Type type;
! 
!       // Constructors.
        public XmlElementAttribute()
!                       : this(null, null)
                        {
                        }
        public XmlElementAttribute(String elementName)
!                       : this(elementName, null)
                        {
                        }
        public XmlElementAttribute(Type type)
!                       : this(null, type)
                        {
                        }
        public XmlElementAttribute(String elementName, Type type)
                        : base()
                        {
!                               if (elementName == null) { elementName = ""; }
!                               this.dataType = "";
!                               this.elementName = elementName;
!                               this.form = XmlSchemaForm.None;
!                               this.isNullable = false;
!                               this.nspace = null;
!                               this.type = type;
                        }
  
!       // Properties.
        public String DataType
                        {
!                               get { return dataType; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       dataType = value;
                                }
                        }
        public String ElementName
                        {
!                               get { return elementName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       elementName = value;
                                }
                        }
        public XmlSchemaForm Form
                        {
!                               get { return form; }
!                               set { form = value; }
                        }
        public bool IsNullable
                        {
!                               get { return isNullable; }
!                               set { isNullable = value; }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value;}
                        }
        public Type Type
                        {
!                               get { return type; }
!                               set { type = value; }
                        }
  

Index: XmlEnumAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlEnumAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlEnumAttribute.cs 7 Aug 2003 02:43:38 -0000       1.1
--- XmlEnumAttribute.cs 7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,63 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Field)]
  public class XmlEnumAttribute : Attribute
  {
!       [TODO]
        public XmlEnumAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlEnumAttribute(String name)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String Name
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Name");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("Name");
                                }
                        }
--- 28,58 ----
  using System.Xml;
  
  [AttributeUsage(AttributeTargets.Field)]
  public class XmlEnumAttribute : Attribute
  {
!       // Internal state.
!       private String name;
! 
!       // Constructors.
        public XmlEnumAttribute()
                        : base()
                        {
!                               this.name = "";
                        }
        public XmlEnumAttribute(String name)
                        : base()
                        {
!                               if (name == null) { name = ""; }
!                               this.name = name;
                        }
  
!       // Property.
        public String Name
                        {
!                               get { return name; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       name = value;
                                }
                        }

Index: XmlIgnoreAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlIgnoreAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlIgnoreAttribute.cs       7 Aug 2003 02:43:38 -0000       1.1
--- XmlIgnoreAttribute.cs       7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,45 ****
  public class XmlIgnoreAttribute : Attribute
  {
!       [TODO]
!       public XmlIgnoreAttribute()
!                       : base()
!                       {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
!                       }
  
  }; // class XmlIgnoreAttribute
--- 34,38 ----
  public class XmlIgnoreAttribute : Attribute
  {
!       public XmlIgnoreAttribute() : base() {}
  
  }; // class XmlIgnoreAttribute

Index: XmlIncludeAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlIncludeAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlIncludeAttribute.cs      7 Aug 2003 02:43:38 -0000       1.1
--- XmlIncludeAttribute.cs      7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Class |
                  AttributeTargets.Struct |
--- 28,31 ----
***************
*** 34,58 ****
  public class XmlIncludeAttribute : Attribute
  {
!       [TODO]
        public XmlIncludeAttribute(Type type)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public Type Type
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
                        }
  
--- 33,51 ----
  public class XmlIncludeAttribute : Attribute
  {
!       // Internal state.
!       private Type type;
! 
!       // Constructor.
        public XmlIncludeAttribute(Type type)
                        : base()
                        {
!                               this.type = type;
                        }
  
!       // Property.
        public Type Type
                        {
!                               get { return type; }
!                               set { type = value; }
                        }
  

Index: XmlNamespaceDeclarationsAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlNamespaceDeclarationsAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlNamespaceDeclarationsAttribute.cs        7 Aug 2003 02:43:38 -0000       
1.1
--- XmlNamespaceDeclarationsAttribute.cs        7 Aug 2003 14:02:09 -0000       
1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,45 ****
  public class XmlNamespaceDeclarationsAttribute : Attribute
  {
!       [TODO]
!       public XmlNamespaceDeclarationsAttribute()
!                       : base()
!                       {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
!                       }
  
  }; // class XmlNamespaceDeclarationsAttribute
--- 34,38 ----
  public class XmlNamespaceDeclarationsAttribute : Attribute
  {
!       public XmlNamespaceDeclarationsAttribute() : base() {}
  
  }; // class XmlNamespaceDeclarationsAttribute

Index: XmlRootAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlRootAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlRootAttribute.cs 7 Aug 2003 02:43:38 -0000       1.1
--- XmlRootAttribute.cs 7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Class |
                  AttributeTargets.Struct |
--- 28,31 ----
***************
*** 36,123 ****
  public class XmlRootAttribute : Attribute
  {
!       [TODO]
        public XmlRootAttribute()
!                       : base()
                        {
-                               // TODO
-                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlRootAttribute(String elementName)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String DataType
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
                                }
                        }
- 
-       [TODO]
        public String ElementName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("ElementName");
                                }
                        }
- 
-       [TODO]
        public bool IsNullable
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullable");
                                }
                        }
- 
-       [TODO]
        public bool IsNullableSpecified
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IsNullableSpecified");
!                               }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
  
--- 35,97 ----
  public class XmlRootAttribute : Attribute
  {
!       // Internal state.
!       private String dataType;
!       private String elementName;
!       private bool isNullable;
!       private bool isNullableSpecified;
!       private String nspace;
! 
!       // Constructors.
        public XmlRootAttribute()
!                       : this(null)
                        {
                        }
        public XmlRootAttribute(String elementName)
                        : base()
                        {
!                               if (elementName == null) { elementName = ""; }
!                               this.dataType = "";
!                               this.elementName = elementName;
!                               this.isNullable = true;
!                               this.isNullableSpecified = false;
!                               this.nspace = null;
                        }
  
!       // Properties.
        public String DataType
                        {
!                               get { return dataType; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       dataType = value;
                                }
                        }
        public String ElementName
                        {
!                               get { return elementName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       elementName = value;
                                }
                        }
        public bool IsNullable
                        {
!                               get { return isNullable; }
                                set
                                {
!                                       isNullableSpecified = true;
!                                       isNullable = value;
                                }
                        }
        public bool IsNullableSpecified
                        {
!                               get { return isNullableSpecified; }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value; }
                        }
  

Index: XmlTextAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlTextAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlTextAttribute.cs 7 Aug 2003 02:43:38 -0000       1.1
--- XmlTextAttribute.cs 7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Property |
                  AttributeTargets.Field |
--- 28,31 ----
***************
*** 35,82 ****
  public class XmlTextAttribute : Attribute
  {
!       [TODO]
        public XmlTextAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlTextAttribute(Type type)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public String DataType
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("DataType");
                                }
                        }
- 
-       [TODO]
        public Type Type
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Type");
!                               }
                        }
  
--- 34,69 ----
  public class XmlTextAttribute : Attribute
  {
!       // Internal state.
!       private String dataType;
!       private Type type;
! 
!       // Constructors.
        public XmlTextAttribute()
                        : base()
                        {
!                               this.dataType = "";
!                               this.type = null;
                        }
        public XmlTextAttribute(Type type)
                        : base()
                        {
!                               this.dataType = "";
!                               this.type = type;
                        }
  
!       // Properties.
        public String DataType
                        {
!                               get { return dataType; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       dataType = value;
                                }
                        }
        public Type Type
                        {
!                               get { return type; }
!                               set { type = value; }
                        }
  

Index: XmlTypeAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/System.Xml/Serialization/XmlTypeAttribute.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlTypeAttribute.cs 7 Aug 2003 02:43:38 -0000       1.1
--- XmlTypeAttribute.cs 7 Aug 2003 14:02:09 -0000       1.2
***************
*** 28,32 ****
  using System.Xml;
  
- [TODO]
  [AttributeUsage(AttributeTargets.Class |
                  AttributeTargets.Struct |
--- 28,31 ----
***************
*** 35,96 ****
  public class XmlTypeAttribute : Attribute
  {
!       [TODO]
        public XmlTypeAttribute()
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
- 
-       [TODO]
        public XmlTypeAttribute(String typeName)
                        : base()
                        {
!                               // TODO
!                               throw new NotImplementedException(".ctor");
                        }
  
!       [TODO]
        public bool IncludeInSchema
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IncludeInSchema");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("IncludeInSchema");
!                               }
                        }
- 
-       [TODO]
        public String Namespace
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
!                               set
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("Namespace");
!                               }
                        }
- 
-       [TODO]
        public String TypeName
                        {
!                               get
!                               {
!                                       // TODO
!                                       throw new 
NotImplementedException("TypeName");
!                               }
                                set
                                {
!                                       // TODO
!                                       throw new 
NotImplementedException("TypeName");
                                }
                        }
--- 34,77 ----
  public class XmlTypeAttribute : Attribute
  {
!       // Internal state.
!       private bool includeInSchema;
!       private String nspace;
!       private String typeName;
! 
!       // Constructors.
        public XmlTypeAttribute()
                        : base()
                        {
!                               this.includeInSchema = true;
!                               this.nspace = null;
!                               this.typeName = "";
                        }
        public XmlTypeAttribute(String typeName)
                        : base()
                        {
!                               if (typeName == null) { typeName = ""; }
!                               this.includeInSchema = true;
!                               this.nspace = null;
!                               this.typeName = typeName;
                        }
  
!       // Properties.
        public bool IncludeInSchema
                        {
!                               get { return includeInSchema; }
!                               set { includeInSchema = value; }
                        }
        public String Namespace
                        {
!                               get { return nspace; }
!                               set { nspace = value; }
                        }
        public String TypeName
                        {
!                               get { return typeName; }
                                set
                                {
!                                       if (value == null) { value = ""; }
!                                       typeName = value;
                                }
                        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]