X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web.Services%2FSystem.Web.Services.Protocols%2FHttpMethodAttribute.cs;h=b21b0aee7fd9b0875815e81a86d91ce6eeb38775;hb=a57c3b9782ca02e4f060ac37dac5b2a20f16772a;hp=54b13ae0cd4ed43dd15a299eb43db91b4c593beb;hpb=0abc2e6270020edc4a5b4c66f93b4ae582815f20;p=mono.git diff --git a/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpMethodAttribute.cs b/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpMethodAttribute.cs index 54b13ae0cd4..b21b0aee7fd 100644 --- a/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpMethodAttribute.cs +++ b/mcs/class/System.Web.Services/System.Web.Services.Protocols/HttpMethodAttribute.cs @@ -1,11 +1,11 @@ -// -// System.Web.Services.Protocols.HttpMethodAttribute.cs -// -// Author: -// Tim Coleman (tim@timcoleman.com) -// -// Copyright (C) Tim Coleman, 2002 -// +// +// System.Web.Services.Protocols.HttpMethodAttribute.cs +// +// Author: +// Tim Coleman (tim@timcoleman.com) +// +// Copyright (C) Tim Coleman, 2002 +// // // Permission is hereby granted, free of charge, to any person obtaining @@ -27,45 +27,45 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - -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 - } -} + +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 + } +}