58 references to WithMetadata
Microsoft.AspNetCore.Authentication.Test (1)
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.OpenApi.Tests (11)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Responses.cs (9)
49.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status400BadRequest, typeof(ProblemDetails), ["application/json+problem"]));
71.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK))
73.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(string), ["text/plain"]));
96.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(Todo), ["application/json"]))
98.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(TodoWithDueDate), ["application/json"]));
121.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(Todo), ["application/json", "application/xml"]));
150.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(TodoWithDueDate), ["application/json"]))
151.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(Todo), ["application/xml"]));
255.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(Todo), ["application/json"]));
Microsoft.AspNetCore.Routing (15)
Builder\RoutingEndpointConventionBuilderExtensions.cs (4)
110builder.WithMetadata(new EndpointNameMetadata(endpointName), new RouteNameMetadata(endpointName));
124builder.WithMetadata(new EndpointGroupNameAttribute(endpointGroupName));
182builder.WithMetadata(new FormMappingOptionsMetadata(maxCollectionSize, maxRecursionDepth, maxKeySize));
217builder.WithMetadata(new FormOptionsMetadata(bufferBody, memoryBufferThreshold, bufferBodyLengthLimit, valueCountLimit, keyLengthLimit, valueLengthLimit, multipartBoundaryLengthLimit, multipartHeadersCountLimit, multipartHeadersLengthLimit, multipartBodyLengthLimit));
Microsoft.AspNetCore.Routing.FunctionalTests (3)
Microsoft.AspNetCore.Routing.Tests (14)
Microsoft.AspNetCore.StaticFiles (4)
MinimalFormSample (1)
Mvc.RoutingWebSite (2)
RoutingWebSite (2)