ApiConventionTypeAttribute(Type) 생성자

정의

를 사용하여 conventionTypeinstance 초기화합니다 ApiConventionTypeAttribute .

public:
 ApiConventionTypeAttribute(Type ^ conventionType);
public ApiConventionTypeAttribute (Type conventionType);
new Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute : Type -> Microsoft.AspNetCore.Mvc.ApiConventionTypeAttribute
Public Sub New (conventionType As Type)

매개 변수

conventionType
Type

Type 규칙의 입니다.

규칙은 정적 형식이어야 합니다. 규칙의 메서드는 메서드 이름 또는 해당 매개 변수에 적용될 수 있고 매개 변수에 ApiConventionNameMatchAttribute 적용되는 에 지정된 규칙을 사용하여 작업 메서드와 ApiConventionTypeMatchAttribute 일치합니다.

적용 대상