PageConventionCollection Class
Definition
Collection of 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)
- Inheritance
-
PageConventionCollection
Constructors
PageConventionCollection() |
Initializes a new instance of the PageConventionCollection class that is empty. |
PageConventionCollection(IList<IPageConvention>) |
Initializes a new instance of the PageConventionCollection class as a wrapper for the specified list. |
Methods
Extension Methods
Add(PageConventionCollection, IParameterModelBaseConvention) |
Adds the specified |
AddAreaPageRoute(PageConventionCollection, String, String, String) |
Adds the specified
The page can be routed via |
AddPageRoute(PageConventionCollection, String, String) |
Adds the specified
The page can be routed via |
AllowAnonymousToAreaFolder(PageConventionCollection, String, String) |
Allows anonymous access to all pages under the specified area folder. |
AllowAnonymousToAreaPage(PageConventionCollection, String, String) |
Allows anonymous access to the page with the specified name located in the specified area. |
AllowAnonymousToFolder(PageConventionCollection, String) |
Allows anonymous access to all pages under the specified folder. |
AllowAnonymousToPage(PageConventionCollection, String) |
Allows anonymous access to the page with the specified name. |
AuthorizeAreaFolder(PageConventionCollection, String, String) |
Requires authorization with the default policy for all pages under the specified folder. |
AuthorizeAreaFolder(PageConventionCollection, String, String, String) |
Requires authorization with the specified policy for all pages under the specified folder. |
AuthorizeAreaPage(PageConventionCollection, String, String) |
Requires authorization for the specified area page. |
AuthorizeAreaPage(PageConventionCollection, String, String, String) |
Requires authorization for the specified area page with the specified policy. |
AuthorizeFolder(PageConventionCollection, String) |
Requires authorization for all pages under the specified folder. |
AuthorizeFolder(PageConventionCollection, String, String) |
Requires authorization for all pages under the specified folder. |
AuthorizePage(PageConventionCollection, String) |
Requires authorization for the specified page. |
AuthorizePage(PageConventionCollection, String, String) |
Requires authorization with the specified policy for the page with the specified name. |
ConfigureFilter(PageConventionCollection, IFilterMetadata) |
Configures the specified |
ConfigureFilter(PageConventionCollection, Func<PageApplicationModel,IFilterMetadata>) |
Configures the specified |