PageActionDescriptor クラス

定義

ページ アクションについて説明します。

public ref class PageActionDescriptor : Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor
public class PageActionDescriptor : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor
type PageActionDescriptor = class
    inherit ActionDescriptor
Public Class PageActionDescriptor
Inherits ActionDescriptor
継承
PageActionDescriptor
派生

コンストラクター

PageActionDescriptor()

PageActionDescriptor の新しいインスタンスを初期化します。

PageActionDescriptor(PageActionDescriptor)

PageActionDescriptorコピー コンストラクター。

プロパティ

ActionConstraints

このアクションの制約のセット。 アクションを選択するには、すべて満たす必要があります。

(継承元 ActionDescriptor)
AreaName

このページの領域名を取得または設定します。 この値は、領域以外のページに対してになります null

AttributeRouteInfo

AttributeRouteInfo を取得または設定します。

(継承元 ActionDescriptor)
BoundProperties

モデルバインドされるプロパティのセット。

(継承元 ActionDescriptor)
DisplayName

このアクションのフレンドリ名。

EndpointMetadata

このアクションのエンドポイント メタデータを取得または設定します。 この API はインフラストラクチャを対象としており、アプリケーション コードでは使用しないでください。

(継承元 ActionDescriptor)
FilterDescriptors

このアクションに関連付けられているフィルターのセット。

(継承元 ActionDescriptor)
Id

アクションを一意に識別する ID を取得します。

(継承元 ActionDescriptor)
Parameters

このアクションに関連付けられているパラメーターのセット。

(継承元 ActionDescriptor)
Properties

に関連付けられている任意のメタデータ プロパティを格納します ActionDescriptor

(継承元 ActionDescriptor)
RelativePath

ページのアプリケーション ルート相対パスを取得または設定します。

RouteValues

選択するアクションのルーティングによって提供される必要があるルート値のコレクションを取得または設定します。

(継承元 ActionDescriptor)
ViewEnginePath

ページ検出のベース パスに対する相対パスを取得または設定します。

この値は、pages ルート ディレクトリを基準とした拡張子のないファイルのパスです。 たとえば、 ViewEnginePath ファイル /Pages/Catalog/Antiques.cshtml の は です /Catalog/Antiques

領域では、この値は、指定された領域の pages ルート ディレクトリを基準にした拡張子のないファイルのパスです。 たとえば、ファイル Areas/Identity/Pages/Manage/Accounts.cshtml の は です/Manage/AccountsViewEnginePath

拡張メソッド

GetProperty<T>(ActionDescriptor)

指定した の値をキーとして使用して、コレクションから Properties プロパティの T 値を取得します。

SetProperty<T>(ActionDescriptor, T)

指定した の値をキーとして使用して、コレクション内 Properties のプロパティの T 値を設定します。

適用対象