-\r
-namespace System.Web.Services.Protocols {\r
- [AttributeUsage (AttributeTargets.Method, Inherited = true)]\r
- public sealed class HttpMethodAttribute : Attribute {\r
-\r
- #region Fields\r
-\r
- Type parameterFormatter;\r
- Type returnFormatter;\r
-\r
- #endregion\r
-\r
- #region Constructors\r
-\r
- public HttpMethodAttribute () \r
- {\r
- }\r
-\r
- public HttpMethodAttribute (Type returnFormatter, Type parameterFormatter) \r
- : this ()\r
- {\r
- this.parameterFormatter = parameterFormatter;\r
- this.returnFormatter = returnFormatter;\r
- }\r
- \r
- #endregion // Constructors\r
-\r
- #region Properties\r
-\r
- public Type ParameterFormatter {\r
- get { return parameterFormatter; }\r
- set { parameterFormatter = value; }\r
- }\r
-\r
- public Type ReturnFormatter {\r
- get { return returnFormatter; }\r
- set { returnFormatter = value; }\r
- }\r
-\r
- #endregion // Properties\r
- }\r
-}\r
+
+namespace System.Web.Services.Protocols {
+ [AttributeUsage (AttributeTargets.Method, Inherited = true)]
+ public sealed class HttpMethodAttribute : Attribute {
+
+ #region Fields
+
+ Type parameterFormatter;
+ Type returnFormatter;
+
+ #endregion
+
+ #region Constructors
+
+ public HttpMethodAttribute ()
+ {
+ }
+
+ public HttpMethodAttribute (Type returnFormatter, Type parameterFormatter)
+ : this ()
+ {
+ this.parameterFormatter = parameterFormatter;
+ this.returnFormatter = returnFormatter;
+ }
+
+ #endregion // Constructors
+
+ #region Properties
+
+ public Type ParameterFormatter {
+ get { return parameterFormatter; }
+ set { parameterFormatter = value; }
+ }
+
+ public Type ReturnFormatter {
+ get { return returnFormatter; }
+ set { returnFormatter = value; }
+ }
+
+ #endregion // Properties
+ }
+}