mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* AnyReturnReader.cs: * HtmlFormParameterReader.cs: * HtmlFormParameterWriter.cs: * HttpGetClientProtocol.cs: * HttpMethodAttribute.cs: * HttpPostClientProtocol.cs: * HttpSimpleClientProtocol.cs: * HttpWebClientProtocol.cs: * MatchAttribute.cs: * MimeFormatter.cs: * MimeParameterReader.cs: * MimeParameterWriter.cs: * MimeReturnReader.cs: * NopReturnReader.cs: * PatternMatcher.cs: * SoapClientMessage.cs: * SoapDocumentMethodAttribute.cs: * SoapDocumentServiceAttribute.cs: * SoapException.cs: * SoapExtensionAttribute.cs: * SoapExtension.cs: * SoapHeaderAttribute.cs: * SoapHeaderCollection.cs: * SoapHeader.cs: * SoapHeaderDirection.cs: * SoapHttpClientProtocol.cs: * SoapMessage.cs: * SoapMessageStage.cs: * SoapParameterStyle.cs: * SoapRpcMethodAttribute.cs: * SoapRpcServiceAttribute.cs: * SoapServerMessage.cs: * SoapServiceRoutingStyle.cs: * SoapUnknownHeader.cs: * TextReturnReader.cs: * UrlEncodedParameterWriter.cs: * UrlParameterReader.cs: * UrlParameterWriter.cs: * ValueCollectionParameterReader.cs: * WebClientAsyncResult.cs: * WebClientProtocol.cs: * WebServiceHandlerFactory.cs: * XmlReturnReader.cs: Added new stubbs and some implementation * LogicalMethodTypes.cs: Added [Serializable] attribute which was missing. svn path=/trunk/mcs/; revision=5982
51 lines
999 B
C#
51 lines
999 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)]
|
|
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
|
|
}
|
|
}
|