PageConventionCollection クラス

定義

IPageConventionコレクション。

public ref class PageConventionCollection : System::Collections::ObjectModel::Collection<Microsoft::AspNetCore::Mvc::ApplicationModels::IPageConvention ^>
public class PageConventionCollection : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Mvc.ApplicationModels.IPageConvention>
type PageConventionCollection = class
    inherit Collection<IPageConvention>
Public Class PageConventionCollection
Inherits Collection(Of IPageConvention)
継承
PageConventionCollection

コンストラクター

PageConventionCollection()

PageConventionCollection クラスの新しい空のインスタンスを初期化します。

PageConventionCollection(IList<IPageConvention>)

指定したリストのラッパーとして PageConventionCollection クラスの新しいインスタンスを初期化します。

メソッド

AddAreaFolderApplicationModelConvention(String, String, Action<PageApplicationModel>)

指定した領域フォルダーの下にあるすべてのページのインスタンスに対PageApplicationModelしてアクションを呼び出す を作成して追加IPageApplicationModelConventionします。

AddAreaFolderRouteModelConvention(String, String, Action<PageRouteModel>)

指定した領域フォルダーの下にあるすべてのページのインスタンスに対PageRouteModelしてアクションを呼び出す を作成して追加IPageRouteModelConventionします。

AddAreaPageApplicationModelConvention(String, String, Action<PageApplicationModel>)

指定した領域にある指定した名前を持つページの でPageApplicationModelアクションを呼び出す を作成して追加IPageApplicationModelConventionします。

AddAreaPageRouteModelConvention(String, String, Action<PageRouteModel>)

指定した領域にある指定した名前を持つページの でPageRouteModelアクションを呼び出す を作成して追加IPageRouteModelConventionします。

AddFolderApplicationModelConvention(String, Action<PageApplicationModel>)

指定したフォルダーの下にあるすべてのページのインスタンスに対PageApplicationModelしてアクションを呼び出す を作成して追加IPageApplicationModelConventionします。

AddFolderRouteModelConvention(String, Action<PageRouteModel>)

指定したフォルダーの下にあるすべてのページのインスタンスに対PageRouteModelしてアクションを呼び出す を作成して追加IPageRouteModelConventionします。

AddPageApplicationModelConvention(String, Action<PageApplicationModel>)

指定した名前の IPageApplicationModelConvention ページの で PageApplicationModel アクションを呼び出す を作成して追加します。

AddPageRouteModelConvention(String, Action<PageRouteModel>)

指定した名前の IPageRouteModelConvention ページの で PageRouteModel アクションを呼び出す を作成して追加します。

RemoveType(Type)

指定した型のすべての IPageConvention インスタンスを削除します。

RemoveType<TPageConvention>()

指定した型のすべての IPageConvention インスタンスを削除します。

拡張メソッド

Add(PageConventionCollection, IParameterModelBaseConvention)

指定した を にconventions追加しますconvention。 追加された規則は、ハンドラー メソッドのすべてのハンドラー プロパティとパラメーターに適用されます。

AddAreaPageRoute(PageConventionCollection, String, String, String)

指定した 領域にある指定した route のページに、指定した pageName を追加します。

このページは、パス ベースのルートの既定のセットに加えて を介して route ルーティングできます。 このページに対して生成されたすべてのリンクは、指定されたルートを使用します。

AddPageRoute(PageConventionCollection, String, String)

指定した を、指定した route のページに追加します pageName

このページは、パス ベースのルートの既定のセットに加えて を介して route ルーティングできます。 このページに対して生成されたすべてのリンクは、指定されたルートを使用します。

AllowAnonymousToAreaFolder(PageConventionCollection, String, String)

指定したエリア フォルダーのすべてのページへの匿名アクセスを許可します。

AllowAnonymousToAreaPage(PageConventionCollection, String, String)

指定した領域にある指定した名前のページへの匿名アクセスを許可します。

AllowAnonymousToFolder(PageConventionCollection, String)

指定したフォルダーのすべてのページへの匿名アクセスを許可します。

AllowAnonymousToPage(PageConventionCollection, String)

指定した名前のページへの匿名アクセスを許可します。

AuthorizeAreaFolder(PageConventionCollection, String, String)

指定したフォルダーのすべてのページに対して、既定のポリシーを使用した承認が必要です。

AuthorizeAreaFolder(PageConventionCollection, String, String, String)

指定したフォルダーのすべてのページに対して、指定したポリシーを使用した承認が必要です。

AuthorizeAreaPage(PageConventionCollection, String, String)

指定された領域ページに対する承認が必要です。

AuthorizeAreaPage(PageConventionCollection, String, String, String)

指定したポリシーを使用して、指定したエリア ページに対する承認が必要です。

AuthorizeFolder(PageConventionCollection, String)

指定したフォルダーのすべてのページに対する承認が必要です。

AuthorizeFolder(PageConventionCollection, String, String)

指定したフォルダーのすべてのページに対する承認が必要です。

AuthorizePage(PageConventionCollection, String)

指定したページの承認が必要です。

AuthorizePage(PageConventionCollection, String, String)

指定した名前のページに対して、指定したポリシーを使用した承認が必要です。

ConfigureFilter(PageConventionCollection, IFilterMetadata)

指定した をすべての Razor Pages に適用するように構成します filter

ConfigureFilter(PageConventionCollection, Func<PageApplicationModel,IFilterMetadata>)

すべての Razor ページにフィルターを適用するように、指定された factory を構成します。

適用対象