Merge pull request #1155 from steffen-kiess/json-string
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / SoapFaultBinding.cs
index cc65dbef58bb791dd9ec00490851cf41ee49f418..b4733ca752c638f0b70758b55930025583bd83d0 100644 (file)
@@ -1,11 +1,11 @@
-// \r
-// System.Web.Services.Description.SoapFaultBinding.cs\r
-//\r
-// Author:\r
-//   Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
+// 
+// System.Web.Services.Description.SoapFaultBinding.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 ("fault", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (FaultBinding))]\r
-       public class SoapFaultBinding : ServiceDescriptionFormatExtension {\r
-\r
-               #region Fields\r
-\r
-               string encoding;\r
-               string ns;\r
-               SoapBindingUse use;\r
-\r
-               #endregion // Fields\r
-\r
-               #region Constructors\r
-               \r
-               public SoapFaultBinding ()\r
-               {\r
-                       encoding = String.Empty;\r
-                       ns = String.Empty;\r
-                       use = SoapBindingUse.Default;\r
-               }\r
-               \r
-               #endregion // Constructors\r
-\r
-               #region Properties\r
-\r
-               [XmlAttribute ("encodingStyle")]\r
-               public string Encoding {\r
-                       get { return encoding; }\r
-                       set { encoding = value; }\r
-               }\r
-       \r
-               [XmlAttribute ("namespace")]    \r
-               public string Namespace {\r
-                       get { return ns; }\r
-                       set { ns = value; }\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
-}\r
+
+using System.ComponentModel;
+using System.Web.Services.Configuration;
+using System.Xml.Serialization;
+
+namespace System.Web.Services.Description {
+       [XmlFormatExtension ("fault", "http://schemas.xmlsoap.org/wsdl/soap/", typeof (FaultBinding))]
+       public class SoapFaultBinding : ServiceDescriptionFormatExtension {
+
+               #region Fields
+
+               string encoding;
+               string ns;
+               SoapBindingUse use;
+               string name;
+
+               #endregion // Fields
+
+               #region Constructors
+               
+               public SoapFaultBinding ()
+               {
+                       encoding = String.Empty;
+                       ns = String.Empty;
+                       use = SoapBindingUse.Default;
+               }
+               
+               #endregion // Constructors
+
+               #region Properties
+
+               [DefaultValue ("")]
+               [XmlAttribute ("encodingStyle")]
+               public string Encoding {
+                       get { return encoding; }
+                       set { encoding = value; }
+               }
+       
+               [XmlAttribute ("namespace")]    
+               public string Namespace {
+                       get { return ns; }
+                       set { ns = value; }
+               }
+
+               [DefaultValue (SoapBindingUse.Default)]
+               [XmlAttribute ("use")]
+               public SoapBindingUse Use {
+                       get { return use; }
+                       set { use = value; }
+               }
+
+               [XmlAttribute ("name")]
+               public string Name {
+                       get { return name; }
+                       set { name = value; }
+               }
+               #endregion // Properties
+       }
+}