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)

指定したルート コンテキストに対してアクションの選択が有効かどうかを判断します。

適用対象