HttpMethodMetadata 생성자

정의

오버로드

HttpMethodMetadata(IEnumerable<String>)

HttpMethodMetadata 클래스의 새 인스턴스를 초기화합니다.

HttpMethodMetadata(IEnumerable<String>, Boolean)

HttpMethodMetadata 클래스의 새 인스턴스를 초기화합니다.

HttpMethodMetadata(IEnumerable<String>)

Source:
HttpMethodMetadata.cs
Source:
HttpMethodMetadata.cs

HttpMethodMetadata 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

httpMethods
IEnumerable<String>

라우팅 중에 사용되는 HTTP 메서드입니다. 빈 컬렉션은 모든 HTTP 메서드가 수락됨을 의미합니다.

적용 대상

HttpMethodMetadata(IEnumerable<String>, Boolean)

Source:
HttpMethodMetadata.cs
Source:
HttpMethodMetadata.cs

HttpMethodMetadata 클래스의 새 인스턴스를 초기화합니다.

public:
 HttpMethodMetadata(System::Collections::Generic::IEnumerable<System::String ^> ^ httpMethods, bool acceptCorsPreflight);
public HttpMethodMetadata (System.Collections.Generic.IEnumerable<string> httpMethods, bool acceptCorsPreflight);
new Microsoft.AspNetCore.Routing.HttpMethodMetadata : seq<string> * bool -> Microsoft.AspNetCore.Routing.HttpMethodMetadata
Public Sub New (httpMethods As IEnumerable(Of String), acceptCorsPreflight As Boolean)

매개 변수

httpMethods
IEnumerable<String>

라우팅 중에 사용되는 HTTP 메서드입니다. 빈 컬렉션은 모든 HTTP 메서드가 수락됨을 의미합니다.

acceptCorsPreflight
Boolean

라우팅이 CORS 실행 전 요청을 수락하는지 여부를 나타내는 값입니다.

적용 대상