# Microsoft.AspNetCore.Mvc.Routing

``` diff
 namespace Microsoft.AspNetCore.Mvc.Routing {
     [AttributeUsageAttribute(64, AllowMultiple=true, Inherited=true)]
     public abstract class HttpMethodAttribute : Attribute, IActionHttpMethodProvider, IRouteTemplateProvider {
-        public HttpMethodAttribute(IEnumerable<string> httpMethods, string? template);
+        public HttpMethodAttribute(IEnumerable<string> httpMethods, [StringSyntaxAttribute("Route")] string? template);
-        public string Template { get; }
+        [StringSyntaxAttribute("Route")]
+        public string Template { get; }
     }
     public interface IRouteTemplateProvider {
-        string Template { get; }
+        [StringSyntaxAttribute("Route")]
+        string Template { get; }
     }
 }
```

