5 instantiations of RouteHandlerBuilder
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
59var routeHandlerBuilder = new RouteHandlerBuilder(new[] { testBuilder });
Microsoft.AspNetCore.Routing.Tests (4)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (4)
47var builder = new RouteHandlerBuilder(new[] { testBuilder }); 61var builder = new RouteHandlerBuilder(new[] { testBuilder }); 110var builder = new RouteHandlerBuilder(new[] { testBuilder }); 151var routeHandlerBuilder = new RouteHandlerBuilder(new[] { routeTestBuilder });
100 references to RouteHandlerBuilder
Microsoft.AspNetCore.OpenApi.Tests (2)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (1)
194static void WithLocalSummary(RouteHandlerBuilder builder)
Services\OpenApiGeneratorTests.cs (1)
59var routeHandlerBuilder = new RouteHandlerBuilder(new[] { testBuilder });
Microsoft.AspNetCore.Routing (88)
Builder\EndpointFilterExtensions.cs (15)
19/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 21/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the route handler.</returns> 30/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 31/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the route handler.</returns> 64/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 65/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the route handler.</returns> 66public static RouteHandlerBuilder AddEndpointFilter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TFilterType>(this RouteHandlerBuilder builder) 70return builder.AddEndpointFilter<RouteHandlerBuilder, TFilterType>(); 77/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 78/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the route handler.</returns> 89/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 91/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the route handler.</returns> 101/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 103/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the route handler.</returns>
Builder\EndpointRouteBuilderExtensions.cs (21)
227/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 230public static RouteHandlerBuilder MapGet( 245/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 248public static RouteHandlerBuilder MapPost( 263/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 266public static RouteHandlerBuilder MapPut( 281/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 284public static RouteHandlerBuilder MapDelete( 299/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 302public static RouteHandlerBuilder MapPatch( 318/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 321public static RouteHandlerBuilder MapMethods( 338/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 341public static RouteHandlerBuilder Map( 356/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 359public static RouteHandlerBuilder Map( 373/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 388public static RouteHandlerBuilder MapFallback(this IEndpointRouteBuilder endpoints, Delegate handler) 400/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 416public static RouteHandlerBuilder MapFallback( 426private static RouteHandlerBuilder Map(
Builder\OpenApiRouteHandlerBuilderExtensions.cs (45)
32/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 33/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 34public static RouteHandlerBuilder ExcludeFromDescription(this RouteHandlerBuilder builder) 35=> ExcludeFromDescription<RouteHandlerBuilder>(builder); 42/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 46/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 48public static RouteHandlerBuilder Produces<TResponse>( 50this RouteHandlerBuilder builder, 62/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 67/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 69public static RouteHandlerBuilder Produces( 71this RouteHandlerBuilder builder, 98/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 101/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 102public static RouteHandlerBuilder ProducesProblem(this RouteHandlerBuilder builder, int statusCode, string? contentType = null) 137/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 140/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 141public static RouteHandlerBuilder ProducesValidationProblem( 142this RouteHandlerBuilder builder, 189/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 202/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 204/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 205public static RouteHandlerBuilder WithTags(this RouteHandlerBuilder builder, params string[] tags) 206=> WithTags<RouteHandlerBuilder>(builder, tags); 213/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 216/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 217public static RouteHandlerBuilder Accepts<TRequest>( 218this RouteHandlerBuilder builder, 230/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 234/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 235public static RouteHandlerBuilder Accepts<TRequest>( 236this RouteHandlerBuilder builder, 248/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 252/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 253public static RouteHandlerBuilder Accepts( 254this RouteHandlerBuilder builder, 266/// <param name="builder">The <see cref="RouteHandlerBuilder"/>.</param> 271/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 272public static RouteHandlerBuilder Accepts( 273this RouteHandlerBuilder builder, 289/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns> 299/// <returns>A <see cref="RouteHandlerBuilder"/> that can be used to further customize the endpoint.</returns>
Builder\RouteHandlerBuilder.cs (1)
22/// Instantiates a new <see cref="RouteHandlerBuilder" /> given multiple
Builder\RouteHandlerServices.cs (4)
32/// <returns>The <see cref="RouteHandlerBuilder"/>>.</returns> 33public static RouteHandlerBuilder Map( 62/// <returns>The <see cref="RouteHandlerBuilder"/>>.</returns> 63public static RouteHandlerBuilder Map(
RouteEndpointDataSource.cs (2)
27public RouteHandlerBuilder AddRequestDelegate( 53public RouteHandlerBuilder AddRouteHandler(
Microsoft.AspNetCore.Routing.Tests (10)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (9)
17static void SpecificExclude(RouteHandlerBuilder builder) => builder.ExcludeFromDescription(); 29static void SpecificWithTags(RouteHandlerBuilder builder) => builder.WithTags("a", "b", "c"); 47var builder = new RouteHandlerBuilder(new[] { testBuilder }); 61var builder = new RouteHandlerBuilder(new[] { testBuilder }); 75static void SpecificProducesProblem(RouteHandlerBuilder builder) => builder.ProducesProblem(StatusCodes.Status400BadRequest); 93static void SpecificProducesProblem(RouteHandlerBuilder builder) => builder.ProducesValidationProblem(); 110var builder = new RouteHandlerBuilder(new[] { testBuilder }); 143Action<RouteHandlerBuilder> specificSetup, 151var routeHandlerBuilder = new RouteHandlerBuilder(new[] { routeTestBuilder });
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
1059var handler = innerGroup.MapGet("/endpoint", () => { });