11 references to _routeEntries
Microsoft.AspNetCore.Routing (11)
RouteEndpointDataSource.cs (11)
37
_routeEntries
.Add(new()
71
_routeEntries
.Add(new()
91
var endpoints = new RouteEndpoint[
_routeEntries
.Count];
92
for (int i = 0; i <
_routeEntries
.Count; i++)
94
endpoints[i] = (RouteEndpoint)CreateRouteEndpointBuilder(
_routeEntries
[i]).Build();
102
var endpoints = new RouteEndpoint[
_routeEntries
.Count];
103
for (int i = 0; i <
_routeEntries
.Count; i++)
105
endpoints[i] = (RouteEndpoint)CreateRouteEndpointBuilder(
_routeEntries
[i], context.Prefix, context.Conventions, context.FinallyConventions).Build();
115
if (
_routeEntries
.Count is not 1)
117
throw new InvalidOperationException($"There are {
_routeEntries
.Count} endpoints defined! This can only be called for a single endpoint.");
120
return CreateRouteEndpointBuilder(
_routeEntries
[0]);