mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
51 lines
1017 B
C#
51 lines
1017 B
C#
//
|
|
// 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
|
|
}
|
|
}
|