2 implementations of IPageApplicationModelConvention
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\PageConventionCollection.cs (2)
333
private sealed class PageApplicationModelConvention :
IPageApplicationModelConvention
361
private sealed class FolderApplicationModelConvention :
IPageApplicationModelConvention
17 references to IPageApplicationModelConvention
Microsoft.AspNetCore.Mvc.RazorPages (17)
ApplicationModels\PageConventionCollection.cs (14)
53
/// Creates and adds an <see cref="
IPageApplicationModelConvention
"/> that invokes an action on the
58
/// <returns>The added <see cref="
IPageApplicationModelConvention
"/>.</returns>
59
public
IPageApplicationModelConvention
AddPageApplicationModelConvention(
71
/// Creates and adds an <see cref="
IPageApplicationModelConvention
"/> that invokes an action on the
83
/// <returns>The added <see cref="
IPageApplicationModelConvention
"/>.</returns>
84
public
IPageApplicationModelConvention
AddAreaPageApplicationModelConvention(
99
/// Creates and adds an <see cref="
IPageApplicationModelConvention
"/> that invokes an action on
104
/// <returns>The added <see cref="
IPageApplicationModelConvention
"/>.</returns>
105
public
IPageApplicationModelConvention
AddFolderApplicationModelConvention(string folderPath, Action<PageApplicationModel> action)
115
/// Creates and adds an <see cref="
IPageApplicationModelConvention
"/> that invokes an action on
127
/// <returns>The added <see cref="
IPageApplicationModelConvention
"/>.</returns>
128
public
IPageApplicationModelConvention
AddAreaFolderApplicationModelConvention(
189
/// <returns>The added <see cref="
IPageApplicationModelConvention
"/>.</returns>
212
/// <returns>The added <see cref="
IPageApplicationModelConvention
"/>.</returns>
DependencyInjection\PageConventionCollectionExtensions.cs (1)
23
public static
IPageApplicationModelConvention
ConfigureFilter(
Infrastructure\CompiledPageActionDescriptorFactory.cs (2)
60
var applicationModelConventions = GetConventions<
IPageApplicationModelConvention
>(pageApplicationModel.HandlerTypeAttributes);
61
foreach (
var
convention in applicationModelConventions)