Share via


ActionMethodSelectorAttribute 클래스

정의

지정된 요청에 대한 작업을 사용하거나 사용하지 않도록 설정하는 조건부 논리를 구현할 수 있는 특성의 기본 클래스입니다. IActionConstraint을 참조하세요.

public ref class ActionMethodSelectorAttribute abstract : Attribute, Microsoft::AspNetCore::Mvc::ActionConstraints::IActionConstraint
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public abstract class ActionMethodSelectorAttribute : Attribute, Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type ActionMethodSelectorAttribute = class
    inherit Attribute
    interface IActionConstraint
    interface IActionConstraintMetadata
Public MustInherit Class ActionMethodSelectorAttribute
Inherits Attribute
Implements IActionConstraint
상속
ActionMethodSelectorAttribute
특성
구현

생성자

ActionMethodSelectorAttribute()

지정된 요청에 대한 작업을 사용하거나 사용하지 않도록 설정하는 조건부 논리를 구현할 수 있는 특성의 기본 클래스입니다. IActionConstraint을 참조하세요.

속성

Order

제약 조건 순서입니다.

메서드

Accept(ActionConstraintContext)

작업이 선택하기 위한 유효한 후보인지 여부를 결정합니다.

IsValidForRequest(RouteContext, ActionDescriptor)

작업 선택이 지정된 경로 컨텍스트에 유효한지 여부를 결정합니다.

적용 대상