using System;
namespace EmbedIO.Routing
{
///
/// Decorate methods within controllers with this attribute in order to make them callable from the Web API Module
/// Method Must match the WebServerModule.
///
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public class BaseRouteAttribute : RouteAttribute
{
///
/// Initializes a new instance of the class.
///
/// The verb.
/// The route.
/// is .
///
/// is empty.
/// - or -
/// does not start with a slash (/) character.
/// - or -
/// does not comply with route syntax.
///
///
public BaseRouteAttribute(HttpVerbs verb, string route)
: base(verb, route, true)
{
}
}
}