Class RouteMapAttribute
Provide a template to be used for mapping/binding parameters from the Params property
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public class RouteMapAttribute : Attribute
- Inheritance
-
objectAttributeRouteMapAttribute
Constructors
RouteMapAttribute(string?)
public RouteMapAttribute(string? Template)
Parameters
Template
string
Fields
Template
Template to use. eg "/Customer/{customerId}/Booking/{bookingId}"
public string? Template