Microsoft.AspNetCore.Mvc.ActionConstraints 名前空間

アクション制約のコントラクトと実装を提供します。

クラス

Name 説明
ActionConstraintContext

IActionConstraint実行のコンテキスト。

ActionConstraintItem

対応するIActionConstraintの有無に関係なくIActionConstraintMetadataを表します。

ActionConstraintProviderContext

アクション制約プロバイダーのコンテキスト。

ActionMethodSelectorAttribute

特定の要求のアクションを有効または無効にする条件付きロジックを実装できる属性の基本クラス。 IActionConstraintを参照してください。

HttpMethodActionConstraint

MVC が従来のIRouterサポートと共に使用される場合に、HTTP メソッドのフィルター処理を適用するために使用されるIActionConstraintの実装。 HttpMethodActionConstraintを使用して、アクションでサポートされる HTTP メソッドのセットを決定できます。

構造体

Name 説明
ActionSelectorCandidate

アクション選択の候補アクション。

インターフェイス

Name 説明
IActionConstraint

指定された要求に対して関連付けられているアクションが有効かどうかを判断する条件付きロジックをサポートします。

IActionConstraintFactory

IActionConstraintの工場。

IActionConstraintMetadata

IActionConstraintのメタデータとして型を識別するマーカー インターフェイス。

IActionConstraintProvider

IActionConstraintのプロバイダー。

注釈

ASP.NET Core MVC の概要については、「ASP.NET Core Mvc の概要」を参照してください。