| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // System.Web.Services.Protocols.HttpMethodAttribute.cs
- //
- // Author:
- // Tim Coleman ([email protected])
- //
- // Copyright (C) Tim Coleman, 2002
- //
- 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
- }
- }
|