5 instantiations of RouteHandlerBuilder
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiGeneratorTests.cs (1)
59
var routeHandlerBuilder = new
RouteHandlerBuilder
(new[] { testBuilder });
Microsoft.AspNetCore.Routing.Tests (4)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (4)
47
var builder = new
RouteHandlerBuilder
(new[] { testBuilder });
61
var builder = new
RouteHandlerBuilder
(new[] { testBuilder });
110
var builder = new
RouteHandlerBuilder
(new[] { testBuilder });
151
var routeHandlerBuilder = new
RouteHandlerBuilder
(new[] { routeTestBuilder });
100 references to RouteHandlerBuilder
Microsoft.AspNetCore.OpenApi.Tests (2)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (1)
194
static void WithLocalSummary(
RouteHandlerBuilder
builder)
Services\OpenApiGeneratorTests.cs (1)
59
var
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>
66
public static
RouteHandlerBuilder
AddEndpointFilter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TFilterType>(this
RouteHandlerBuilder
builder)
70
return 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>
230
public static
RouteHandlerBuilder
MapGet(
245
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
248
public static
RouteHandlerBuilder
MapPost(
263
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
266
public static
RouteHandlerBuilder
MapPut(
281
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
284
public static
RouteHandlerBuilder
MapDelete(
299
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
302
public static
RouteHandlerBuilder
MapPatch(
318
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
321
public static
RouteHandlerBuilder
MapMethods(
338
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
341
public static
RouteHandlerBuilder
Map(
356
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
359
public static
RouteHandlerBuilder
Map(
373
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
388
public static
RouteHandlerBuilder
MapFallback(this IEndpointRouteBuilder endpoints, Delegate handler)
400
/// <returns>A <see cref="
RouteHandlerBuilder
"/> that can be used to further customize the endpoint.</returns>
416
public static
RouteHandlerBuilder
MapFallback(
426
private 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>
34
public 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>
48
public static
RouteHandlerBuilder
Produces<TResponse>(
50
this
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>
69
public static
RouteHandlerBuilder
Produces(
71
this
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>
102
public 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>
141
public static
RouteHandlerBuilder
ProducesValidationProblem(
142
this
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>
205
public 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>
217
public static
RouteHandlerBuilder
Accepts<TRequest>(
218
this
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>
235
public static
RouteHandlerBuilder
Accepts<TRequest>(
236
this
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>
253
public static
RouteHandlerBuilder
Accepts(
254
this
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>
272
public static
RouteHandlerBuilder
Accepts(
273
this
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>
33
public static
RouteHandlerBuilder
Map(
62
/// <returns>The <see cref="
RouteHandlerBuilder
"/>>.</returns>
63
public static
RouteHandlerBuilder
Map(
RouteEndpointDataSource.cs (2)
27
public
RouteHandlerBuilder
AddRequestDelegate(
53
public
RouteHandlerBuilder
AddRouteHandler(
Microsoft.AspNetCore.Routing.Tests (10)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (9)
17
static void SpecificExclude(
RouteHandlerBuilder
builder) => builder.ExcludeFromDescription();
29
static void SpecificWithTags(
RouteHandlerBuilder
builder) => builder.WithTags("a", "b", "c");
47
var
builder = new RouteHandlerBuilder(new[] { testBuilder });
61
var
builder = new RouteHandlerBuilder(new[] { testBuilder });
75
static void SpecificProducesProblem(
RouteHandlerBuilder
builder) => builder.ProducesProblem(StatusCodes.Status400BadRequest);
93
static void SpecificProducesProblem(
RouteHandlerBuilder
builder) => builder.ProducesValidationProblem();
110
var
builder = new RouteHandlerBuilder(new[] { testBuilder });
143
Action<
RouteHandlerBuilder
> specificSetup,
151
var
routeHandlerBuilder = new RouteHandlerBuilder(new[] { routeTestBuilder });
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
1059
var
handler = innerGroup.MapGet("/endpoint", () => { });