ApiConventionMethodAttribute 클래스

정의

컨트롤러 작업에 적용할 API 규칙입니다.

API 규칙은 ApiExplorer의 출력에 영향을 주는 데 사용됩니다. ApiConventionMethodAttribute 작업에 적용되는 정확한 규칙 메서드를 지정하는 데 사용할 수 있습니다. ApiConventionTypeAttribute 어셈블리 또는 컨트롤러 수준에서 규칙을 적용하는 방법에 대한 자세한 내용을 참조하세요.

public ref class ApiConventionMethodAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class ApiConventionMethodAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type ApiConventionMethodAttribute = class
    inherit Attribute
Public NotInheritable Class ApiConventionMethodAttribute
Inherits Attribute
상속
ApiConventionMethodAttribute
특성

생성자

ApiConventionMethodAttribute(Type, String)

및 지정된 methodNameApiConventionMethodAttribute 사용하여 conventionType instance 초기화합니다.

속성

ConventionType

규칙 형식을 가져옵니다.

적용 대상