Merge pull request #2942 from jogibear9988/patch-2
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Protocols / SoapDocumentServiceAttribute.cs
index adf20c74706c1d439776a7489eecb46221f04d9c..651bde96e03aab2ff1a6bc7a34f96e41c5530f86 100644 (file)
@@ -1,11 +1,11 @@
-// \r
-// System.Web.Services.Protocols.SoapDocumentServiceAttribute.cs\r
-//\r
-// Author:\r
-//   Tim Coleman (tim@timcoleman.com)\r
-//\r
-// Copyright (C) Tim Coleman, 2002\r
-//\r
+// 
+// System.Web.Services.Protocols.SoapDocumentServiceAttribute.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.Web.Services.Description;\r
-\r
-namespace System.Web.Services.Protocols {\r
-       [AttributeUsage (AttributeTargets.Class, Inherited = true)]\r
-       public sealed class SoapDocumentServiceAttribute : Attribute {\r
-\r
-               #region Fields\r
-\r
-               SoapParameterStyle paramStyle;\r
-               SoapServiceRoutingStyle routingStyle;\r
-               SoapBindingUse use;\r
-\r
-               #endregion\r
-\r
-               #region Constructors\r
-\r
-               public SoapDocumentServiceAttribute () \r
-               {\r
-                       paramStyle = SoapParameterStyle.Wrapped;\r
-                       routingStyle = SoapServiceRoutingStyle.SoapAction;\r
-                       use = SoapBindingUse.Literal;\r
-               }\r
-\r
-               public SoapDocumentServiceAttribute (SoapBindingUse use) \r
-                       : this ()\r
-               {\r
-                       this.use = use;\r
-               }\r
-\r
-               public SoapDocumentServiceAttribute (SoapBindingUse use, SoapParameterStyle paramStyle) \r
-                       : this ()\r
-               {\r
-                       this.use = use;\r
-                       this.paramStyle = paramStyle;\r
-               }\r
-               \r
-               #endregion // Constructors\r
-\r
-               #region Properties\r
-\r
-               public SoapParameterStyle ParameterStyle {\r
-                       get { return paramStyle; }\r
-                       set { paramStyle = value; }\r
-               }\r
-\r
-               public SoapServiceRoutingStyle RoutingStyle {\r
-                       get { return routingStyle; }\r
-                       set { routingStyle = value; }\r
-               }\r
-\r
-               public SoapBindingUse Use {\r
-                       get { return use; }\r
-                       set { use = value; }\r
-               }\r
-\r
-               #endregion // Properties\r
-       }\r
-}\r
+
+using System.Web.Services.Description;
+
+namespace System.Web.Services.Protocols {
+       [AttributeUsage (AttributeTargets.Class, Inherited = true)]
+       public sealed class SoapDocumentServiceAttribute : Attribute {
+
+               #region Fields
+
+               SoapParameterStyle paramStyle;
+               SoapServiceRoutingStyle routingStyle;
+               SoapBindingUse use;
+
+               #endregion
+
+               #region Constructors
+
+               public SoapDocumentServiceAttribute () 
+               {
+                       paramStyle = SoapParameterStyle.Wrapped;
+                       routingStyle = SoapServiceRoutingStyle.SoapAction;
+                       use = SoapBindingUse.Literal;
+               }
+
+               public SoapDocumentServiceAttribute (SoapBindingUse use) 
+                       : this ()
+               {
+                       this.use = use;
+               }
+
+               public SoapDocumentServiceAttribute (SoapBindingUse use, SoapParameterStyle paramStyle) 
+                       : this ()
+               {
+                       this.use = use;
+                       this.paramStyle = paramStyle;
+               }
+               
+               #endregion // Constructors
+
+               #region Properties
+
+               public SoapParameterStyle ParameterStyle {
+                       get { return paramStyle; }
+                       set { paramStyle = value; }
+               }
+
+               public SoapServiceRoutingStyle RoutingStyle {
+                       get { return routingStyle; }
+                       set { routingStyle = value; }
+               }
+
+               public SoapBindingUse Use {
+                       get { return use; }
+                       set { use = value; }
+               }
+
+               #endregion // Properties
+       }
+}