HttpGetAttribute Class¶
Inheritance Hierarchy¶
System.Object
System.Attribute
Microsoft.AspNet.Mvc.HttpMethodAttribute
Microsoft.AspNet.Mvc.HttpGetAttribute
Syntax¶
public class HttpGetAttribute : HttpMethodAttribute, _Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
Constructors¶
-
Microsoft.AspNet.Mvc.HttpGetAttribute.HttpGetAttribute()
Creates a new [Microsoft.AspNet.Mvc.HttpGetAttribute](Microsoft.AspNet.Mvc.HttpGetAttribute.yml).
public HttpGetAttribute()
-
HttpGetAttribute
(System.String)¶ Creates a new [Microsoft.AspNet.Mvc.HttpGetAttribute](Microsoft.AspNet.Mvc.HttpGetAttribute.yml) with the given route template.
Arguments: - template (System.String) – The route template. May not be null.
public HttpGetAttribute(string template)
-