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