16 references to PageActionEndpointConventionBuilder
Microsoft.AspNetCore.Mvc.RazorPages (8)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensions.cs (4)
12
/// Extensions for <see cref="
PageActionEndpointConventionBuilder
"/>.
21
/// <param name="builder">The <see cref="
PageActionEndpointConventionBuilder
"/>.</param>
24
public static
PageActionEndpointConventionBuilder
WithStaticAssets(
25
this
PageActionEndpointConventionBuilder
builder,
Builder\RazorPagesEndpointRouteBuilderExtensions.cs (3)
26
/// <returns>An <see cref="
PageActionEndpointConventionBuilder
"/> for endpoints associated with Razor Pages.</returns>
27
public static
PageActionEndpointConventionBuilder
MapRazorPages(this IEndpointRouteBuilder endpoints)
33
var
builder = GetOrCreateDataSource(endpoints).DefaultBuilder;
Infrastructure\PageActionEndpointDataSource.cs (1)
38
public
PageActionEndpointConventionBuilder
DefaultBuilder { get; }
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (8)
25
var
builder = endpointBuilder.MapRazorPages();
46
var
builder = endpointBuilder.MapRazorPages();
67
var
builder = endpointBuilder.MapRazorPages();
89
var
builder = endpointBuilder.MapRazorPages();
112
var
builder = endpointBuilder.MapRazorPages();
135
var
builder = endpointBuilder.MapRazorPages();
160
var
builder = group.MapRazorPages();
186
var
builder = group.MapRazorPages();