13 instantiations of RouteGroupContext
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\EndpointMetadataProviderTest.cs (4)
102
var routeGroupContext = new
RouteGroupContext
145
var routeGroupContext = new
RouteGroupContext
166
var routeGroupContext = new
RouteGroupContext
187
var routeGroupContext = new
RouteGroupContext
Routing\ControllerActionEndpointDataSourceTest.cs (1)
427
var endpoints = dataSource.GetGroupedEndpoints(new
RouteGroupContext
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageActionEndpointDataSourceTest.cs (1)
145
var endpoints = dataSource.GetGroupedEndpoints(new
RouteGroupContext
Microsoft.AspNetCore.Routing (1)
RouteGroupBuilder.cs (1)
98
return new
RouteGroupContext
Microsoft.AspNetCore.Routing.Tests (6)
CompositeEndpointDataSourceTest.cs (6)
48
var groupedEndpoints = compositeDataSource.GetGroupedEndpoints(new
RouteGroupContext
69
var groupContext = new
RouteGroupContext
297
var context = new
RouteGroupContext
343
var context = new
RouteGroupContext
398
var context = new
RouteGroupContext
461
var context = new
RouteGroupContext
29 references to RouteGroupContext
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointDataSourceBase.cs (1)
52
public override IReadOnlyList<Endpoint> GetGroupedEndpoints(
RouteGroupContext
context)
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApplicationModels\EndpointMetadataProviderTest.cs (4)
102
var
routeGroupContext = new RouteGroupContext
145
var
routeGroupContext = new RouteGroupContext
166
var
routeGroupContext = new RouteGroupContext
187
var
routeGroupContext = new RouteGroupContext
Microsoft.AspNetCore.Routing (14)
CompositeEndpointDataSource.cs (1)
79
public override IReadOnlyList<Endpoint> GetGroupedEndpoints(
RouteGroupContext
context)
EndpointDataSource.cs (5)
29
/// Get the <see cref="Endpoint"/> instances for this <see cref="EndpointDataSource"/> given the specified <see cref="
RouteGroupContext
.Prefix"/> and <see cref="
RouteGroupContext
.Conventions"/>.
33
/// Returns a read-only collection of <see cref="Endpoint"/> instances given the specified group <see cref="
RouteGroupContext
.Prefix"/> and <see cref="
RouteGroupContext
.Conventions"/>.
35
public virtual IReadOnlyList<Endpoint> GetGroupedEndpoints(
RouteGroupContext
context)
RouteEndpointDataSource.cs (1)
100
public override IReadOnlyList<RouteEndpoint> GetGroupedEndpoints(
RouteGroupContext
context)
RouteGroupBuilder.cs (3)
54
public override IReadOnlyList<Endpoint> GetGroupedEndpoints(
RouteGroupContext
context) =>
88
private
RouteGroupContext
GetNextRouteGroupContext(
107
private IReadOnlyList<Endpoint> SelectEndpointsFromAllDataSources(
RouteGroupContext
context)
RouteGroupContext.cs (4)
10
/// Represents the information accessible to <see cref="EndpointDataSource.GetGroupedEndpoints(
RouteGroupContext
)"/>.
16
/// returned by the call to <see cref="EndpointDataSource.GetGroupedEndpoints(
RouteGroupContext
)"/>. This accounts for nested groups and gives the full group prefix
24
/// returned from <see cref="EndpointDataSource.GetGroupedEndpoints(
RouteGroupContext
)"/>.
31
/// returned from <see cref="EndpointDataSource.GetGroupedEndpoints(
RouteGroupContext
)"/>.
Microsoft.AspNetCore.Routing.Tests (10)
CompositeEndpointDataSourceTest.cs (10)
69
var
groupContext = new RouteGroupContext
297
var
context = new RouteGroupContext
306
var
receivedContext = Assert.Single(dataSource.ReceivedRouteGroupContexts);
343
var
context = new RouteGroupContext
352
var
receivedContext = Assert.Single(dataSource.ReceivedRouteGroupContexts);
398
var
context = new RouteGroupContext
407
var
receivedContext = Assert.Single(dataSource.ReceivedRouteGroupContexts);
461
var
context = new RouteGroupContext
514
public List<
RouteGroupContext
> ReceivedRouteGroupContexts { get; } = new();
518
public override IReadOnlyList<Endpoint> GetGroupedEndpoints(
RouteGroupContext
context)