HttpGetAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HttpGetAttribute() |
Creates a new HttpGetAttribute. |
HttpGetAttribute(String) |
Creates a new HttpGetAttribute with the given route template. |
HttpGetAttribute()
- Source:
- HttpGetAttribute.cs
- Source:
- HttpGetAttribute.cs
- Source:
- HttpGetAttribute.cs
Creates a new HttpGetAttribute.
public:
HttpGetAttribute();
public HttpGetAttribute ();
Public Sub New ()
Applies to
HttpGetAttribute(String)
- Source:
- HttpGetAttribute.cs
- Source:
- HttpGetAttribute.cs
- Source:
- HttpGetAttribute.cs
Creates a new HttpGetAttribute with the given route template.
public:
HttpGetAttribute(System::String ^ template);
public HttpGetAttribute (string template);
new Microsoft.AspNetCore.Mvc.HttpGetAttribute : string -> Microsoft.AspNetCore.Mvc.HttpGetAttribute
Public Sub New (template As String)
Parameters
- template
- String
The route template. May not be null.