HttpGetAttribute Constructors

Definition

Overloads

HttpGetAttribute()

Creates a new HttpGetAttribute.

HttpGetAttribute(String)

Creates a new HttpGetAttribute with the given route template.

HttpGetAttribute()

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

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.

Applies to