Share via


HttpMethodAttribute 생성자

정의

오버로드

HttpMethodAttribute(IEnumerable<String>)

지정된 HTTP 메서드 집합을 사용하여 새 HttpMethodAttribute 을 만듭니다.

HttpMethodAttribute(IEnumerable<String>, String)

지정된 경로 템플릿에 지정된 HTTP 메서드 집합을 사용하여 새 HttpMethodAttribute 을 만듭니다.

HttpMethodAttribute(IEnumerable<String>)

Source:
HttpMethodAttribute.cs
Source:
HttpMethodAttribute.cs

지정된 HTTP 메서드 집합을 사용하여 새 HttpMethodAttribute 을 만듭니다.

public:
 HttpMethodAttribute(System::Collections::Generic::IEnumerable<System::String ^> ^ httpMethods);
public HttpMethodAttribute (System.Collections.Generic.IEnumerable<string> httpMethods);
new Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute : seq<string> -> Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute
Public Sub New (httpMethods As IEnumerable(Of String))

매개 변수

httpMethods
IEnumerable<String>

적용 대상

HttpMethodAttribute(IEnumerable<String>, String)

Source:
HttpMethodAttribute.cs
Source:
HttpMethodAttribute.cs

지정된 경로 템플릿에 지정된 HTTP 메서드 집합을 사용하여 새 HttpMethodAttribute 을 만듭니다.

public:
 HttpMethodAttribute(System::Collections::Generic::IEnumerable<System::String ^> ^ httpMethods, System::String ^ template);
public HttpMethodAttribute (System.Collections.Generic.IEnumerable<string> httpMethods, string template);
public HttpMethodAttribute (System.Collections.Generic.IEnumerable<string> httpMethods, string? template);
new Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute : seq<string> * string -> Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute
Public Sub New (httpMethods As IEnumerable(Of String), template As String)

매개 변수

httpMethods
IEnumerable<String>

지원되는 메서드 집합입니다. null일 수 없습니다.

template
String

경로 템플릿입니다.

적용 대상