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