Marks the parameter to be bound to the URL.
Inheritance: ParameterSourceAttribute, IUrlTemplateParameterSourceAttribute
Ejemplo n.º 1
0
 private static void CreateParameterTemplateRegex(this ParameterInfo parameter, FromUrlAttribute fromUrl, out string parameterTemplateRegex)
 {
     parameterTemplateRegex = UriTemplateBuilder.VariableTemplateRegex.Replace(fromUrl.UrlTemplate.ToString(), "[^/?]+");
 }