[corlib] Remove System.Core security types
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / SoapBodyBinding.cs
index f034b6918d9ed7ddcc7a635aa8f6d9027a4bc9d6..490429dcdfe4c3e304016f7593835b37af4a86a0 100644 (file)
@@ -1,11 +1,11 @@
-// \r
-// System.Web.Services.Description.SoapBodyBinding.cs\r
-//\r
-// Author:\r
-//   Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
+// 
+// System.Web.Services.Description.SoapBodyBinding.cs
+//
+// Author:
+//   Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) Tim Coleman, 2002
+//
 
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-\r
-using System.ComponentModel;\r
-using System.Web.Services.Configuration;\r
-using System.Xml.Serialization;\r
-\r
-namespace System.Web.Services.Description {\r
-       [XmlFormatExtension ("body", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (InputBinding), typeof (OutputBinding), typeof (MimePart))]\r
-       public class SoapBodyBinding : ServiceDescriptionFormatExtension {\r
-\r
-               #region Fields\r
-               \r
-               string encoding;\r
-               string ns;\r
-               string[] parts;\r
-               string partsString;\r
-               SoapBindingUse use;\r
-\r
-               #endregion // Fields\r
-\r
-               #region Constructors\r
-               \r
-               public SoapBodyBinding ()\r
-               {\r
-                       encoding = String.Empty;\r
-                       ns = String.Empty;\r
-                       parts = null;\r
-                       partsString = null;\r
-                       use = SoapBindingUse.Default;\r
-               }\r
-               \r
-               #endregion // Constructors\r
-\r
-               #region Properties\r
-\r
-               [DefaultValue ("")]\r
-               [XmlAttribute ("encodingStyle")]\r
-               public string Encoding {\r
-                       get { return encoding; }\r
-                       set { encoding = value; }\r
-               }\r
-\r
-               [DefaultValue ("")]\r
-               [XmlAttribute ("namespace")]\r
-               public string Namespace {\r
-                       get { return ns; }\r
-                       set { ns = value; }\r
-               }\r
-\r
-               [XmlIgnore]\r
-               public string[] Parts {\r
-                       get { return parts; }\r
-                       set {\r
-                               parts = value;\r
-                               if (value == null)\r
-                                       partsString = null;\r
-                               else\r
-                                       partsString = String.Join(" ", value);\r
-                       }\r
-               }\r
-\r
-               [XmlAttribute ("parts", DataType = "NMTOKENS")]\r
-               public string PartsString {\r
-                       get { return partsString; }\r
-                       set {\r
-                               partsString = value;\r
-                               if (value == null)\r
-                                       parts = null;\r
-                               else\r
-                                       parts = value.Split(' ');\r
-                       }\r
-               }\r
-\r
-               [DefaultValue (SoapBindingUse.Default)]\r
-               [XmlAttribute ("use")]\r
-               public SoapBindingUse Use {\r
-                       get { return use; }\r
-                       set { use = value; }\r
-               }\r
-\r
-               #endregion // Properties\r
-       }\r
+
+using System.ComponentModel;
+using System.Web.Services.Configuration;
+using System.Xml.Serialization;
+
+namespace System.Web.Services.Description {
+       [XmlFormatExtension ("body", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (InputBinding), typeof (OutputBinding), typeof (MimePart))]
+       public class SoapBodyBinding : ServiceDescriptionFormatExtension {
+
+               #region Fields
+               
+               string encoding;
+               string ns;
+               string[] parts;
+               string partsString;
+               SoapBindingUse use;
+
+               #endregion // Fields
+
+               #region Constructors
+               
+               public SoapBodyBinding ()
+               {
+                       encoding = String.Empty;
+                       ns = String.Empty;
+                       parts = null;
+                       partsString = null;
+                       use = SoapBindingUse.Default;
+               }
+               
+               #endregion // Constructors
+
+               #region Properties
+
+               [DefaultValue ("")]
+               [XmlAttribute ("encodingStyle")]
+               public string Encoding {
+                       get { return encoding; }
+                       set { encoding = value; }
+               }
+
+               [DefaultValue ("")]
+               [XmlAttribute ("namespace")]
+               public string Namespace {
+                       get { return ns; }
+                       set { ns = value; }
+               }
+
+               [XmlIgnore]
+               public string[] Parts {
+                       get { return parts; }
+                       set {
+                               parts = value;
+                               if (value == null)
+                                       partsString = null;
+                               else
+                                       partsString = String.Join(" ", value);
+                       }
+               }
+
+               [XmlAttribute ("parts")]
+               public string PartsString {
+                       get { return partsString; }
+                       set {
+                               partsString = value;
+                               if (value == null)
+                                       parts = null;
+                               else
+                                       parts = value.Split(' ');
+                       }
+               }
+
+               [DefaultValue (SoapBindingUse.Default)]
+               [XmlAttribute ("use")]
+               public SoapBindingUse Use {
+                       get { return use; }
+                       set { use = value; }
+               }
+
+               #endregion // Properties
+       }
 }