using System;
using System.Collections.Generic;
using System.Text;
namespace Apewer.AspNetBridge
{
///
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class RoutePrefixAttribute : Attribute
{
string _path;
///
public string Path { get { return _path; } }
///
///
public RoutePrefixAttribute(string path) { _path = path; }
}
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class RouteAttribute : Attribute
{
string _path;
///
public string Path { get { return _path; } }
///
public RouteAttribute(string path) { _path = path; }
}
///
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
public class FromBodyAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
public class FromUriAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpConnectAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpDeleteAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpGetAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpHeadAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpOptionsAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpPatchAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpPostAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpPutAttribute : Attribute { }
///
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class HttpTraceAttribute : Attribute { }
}