PageConventionCollectionExtensions PageConventionCollectionExtensions PageConventionCollectionExtensions Class

Definition

Extensions for PageConventionCollection.

public static class PageConventionCollectionExtensions
type PageConventionCollectionExtensions = class
Public Module PageConventionCollectionExtensions
Inheritance
PageConventionCollectionExtensionsPageConventionCollectionExtensionsPageConventionCollectionExtensions

Methods

Add(PageConventionCollection, IParameterModelBaseConvention) Add(PageConventionCollection, IParameterModelBaseConvention) Add(PageConventionCollection, IParameterModelBaseConvention)

Adds the specified convention to conventions. The added convention will apply to all handler properties and parameters on handler methods.

AddAreaPageRoute(PageConventionCollection, String, String, String) AddAreaPageRoute(PageConventionCollection, String, String, String) AddAreaPageRoute(PageConventionCollection, String, String, String)

Adds the specified route to the page at the specified pageName located in the specified area.

The page can be routed via route in addition to the default set of path based routes. All links generated for this page will use the specified route.

AddPageRoute(PageConventionCollection, String, String) AddPageRoute(PageConventionCollection, String, String) AddPageRoute(PageConventionCollection, String, String)

Adds the specified route to the page at the specified pageName.

The page can be routed via route in addition to the default set of path based routes. All links generated for this page will use the specified route.

AllowAnonymousToAreaFolder(PageConventionCollection, String, String) AllowAnonymousToAreaFolder(PageConventionCollection, String, String) AllowAnonymousToAreaFolder(PageConventionCollection, String, String)

Adds a AllowAnonymousFilter to all pages under the specified area folder.

AllowAnonymousToAreaPage(PageConventionCollection, String, String) AllowAnonymousToAreaPage(PageConventionCollection, String, String) AllowAnonymousToAreaPage(PageConventionCollection, String, String)

Adds a AllowAnonymousFilter to the page with the specified name located in the specified area.

AllowAnonymousToFolder(PageConventionCollection, String) AllowAnonymousToFolder(PageConventionCollection, String) AllowAnonymousToFolder(PageConventionCollection, String)

Adds a AllowAnonymousFilter to all pages under the specified folder.

AllowAnonymousToPage(PageConventionCollection, String) AllowAnonymousToPage(PageConventionCollection, String) AllowAnonymousToPage(PageConventionCollection, String)

Adds a AllowAnonymousFilter to the page with the specified name.

AuthorizeAreaFolder(PageConventionCollection, String, String, String) AuthorizeAreaFolder(PageConventionCollection, String, String, String) AuthorizeAreaFolder(PageConventionCollection, String, String, String)

Adds a AuthorizeFilter with the specified policy to all pages under the specified folder.

AuthorizeAreaFolder(PageConventionCollection, String, String) AuthorizeAreaFolder(PageConventionCollection, String, String) AuthorizeAreaFolder(PageConventionCollection, String, String)

Adds a AuthorizeFilter with the default policy to all pages under the specified folder.

AuthorizeAreaPage(PageConventionCollection, String, String) AuthorizeAreaPage(PageConventionCollection, String, String) AuthorizeAreaPage(PageConventionCollection, String, String)

Adds a AuthorizeFilter with default policy to the page with the specified name.

AuthorizeAreaPage(PageConventionCollection, String, String, String) AuthorizeAreaPage(PageConventionCollection, String, String, String) AuthorizeAreaPage(PageConventionCollection, String, String, String)

Adds a AuthorizeFilter with the specified policy to the page with the specified name.

AuthorizeFolder(PageConventionCollection, String) AuthorizeFolder(PageConventionCollection, String) AuthorizeFolder(PageConventionCollection, String)

Adds a AuthorizeFilter to all pages under the specified folder.

AuthorizeFolder(PageConventionCollection, String, String) AuthorizeFolder(PageConventionCollection, String, String) AuthorizeFolder(PageConventionCollection, String, String)

Adds a AuthorizeFilter with the specified policy to all pages under the specified folder.

AuthorizePage(PageConventionCollection, String) AuthorizePage(PageConventionCollection, String) AuthorizePage(PageConventionCollection, String)

Adds a AuthorizeFilter to the page with the specified name.

AuthorizePage(PageConventionCollection, String, String) AuthorizePage(PageConventionCollection, String, String) AuthorizePage(PageConventionCollection, String, String)

Adds a AuthorizeFilter with the specified policy to the page with the specified name.

ConfigureFilter(PageConventionCollection, IFilterMetadata) ConfigureFilter(PageConventionCollection, IFilterMetadata) ConfigureFilter(PageConventionCollection, IFilterMetadata)

Configures the specified filter to apply to all Razor Pages.

ConfigureFilter(PageConventionCollection, Func<PageApplicationModel,IFilterMetadata>) ConfigureFilter(PageConventionCollection, Func<PageApplicationModel,IFilterMetadata>) ConfigureFilter(PageConventionCollection, Func<PageApplicationModel,IFilterMetadata>)

Configures the specified factory to apply filters to all Razor Pages.

Applies to