3 writes to RoutePattern
Microsoft.AspNetCore.Routing (1)
Microsoft.AspNetCore.Routing.Tests (1)
Microsoft.AspNetCore.StaticAssets (1)
41 references to RoutePattern
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.Routing.Tests (29)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (22)
109Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
129Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
155Assert.Equal("/{id}", routeEndpointBuilder.RoutePattern.RawText);
193Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
277Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
297Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
317Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
341Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
361Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
381Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
405Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
425Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
445Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
534Assert.Equal($"/{{ID}}", routeEndpointBuilder.RoutePattern.RawText);
575Assert.Equal($"/{{ID}}", routeEndpointBuilder.RoutePattern.RawText);
675Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
713Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
733Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
748Assert.Equal("/", routeEndpointBuilder.RoutePattern.RawText);
764Assert.Equal("{*path:nonfile}", routeEndpointBuilder.RoutePattern.RawText);
765Assert.Single(routeEndpointBuilder.RoutePattern.Parameters);
766Assert.True(routeEndpointBuilder.RoutePattern.Parameters[0].IsCatchAll);
Microsoft.AspNetCore.StaticAssets (1)