|
using System;
using System.Collections.Generic;
using System.Text;
namespace PoC.Web.Services
{
/// <summary>
/// This attribute let the system serialize object as xml
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class ReSTXmlResponse : System.Attribute
{
}
/// <summary>
/// Defines a ReST method
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class ReSTMethod : System.Attribute
{
HttpVerb verb;
public ReSTMethod(HttpVerb verb)
{
this.verb = verb;
}
public HttpVerb Verb
{
get { return this.verb; }
set { this.verb = value; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.