using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MontoyaTech.Rest.Net { /// /// The outline of an attribute that defines a routes request type. /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)] public class RouteRequest : Attribute { /// /// The type of the request. /// public Type RequestType = null; /// /// Creates a default route request. /// public RouteRequest() { } /// /// Creates a route request with the request type. /// /// public RouteRequest(Type requestType) { this.RequestType = requestType; } } }