26 references to WithMetadata
blazor-gateway (1)
BlazorGateway.cs (1)
110.WithMetadata(new ContentEncodingMetadata("identity", 1.0));
Microsoft.AspNetCore.Http.Connections (5)
ConnectionEndpointRouteBuilderExtensions.cs (5)
107negotiateBuilder.WithMetadata(_negotiateMetadata); 108negotiateBuilder.WithMetadata(options); 120refreshBuilder.WithMetadata(_authRefreshMetadata); 121refreshBuilder.WithMetadata(options); 131executeBuilder.WithMetadata(new DisableRequestTimeoutAttribute());
Microsoft.AspNetCore.OpenApi (1)
Extensions\OpenApiEndpointConventionBuilderExtensions.cs (1)
136builder.WithMetadata(new DelegateOpenApiOperationTransformer(transformer));
Microsoft.AspNetCore.Routing (15)
Builder\FallbackEndpointRouteBuilderExtensions.cs (1)
80conventionBuilder.WithMetadata(FallbackMetadata.Instance);
Builder\OpenApiRouteHandlerBuilderExtensions.cs (9)
26=> builder.WithMetadata(_excludeFromDescriptionMetadataAttribute); 84return builder.WithMetadata(new ProducesResponseTypeMetadata(statusCode, responseType ?? typeof(void))); 91return builder.WithMetadata(new ProducesResponseTypeMetadata(statusCode, responseType ?? typeof(void), contentTypes)); 130return builder.WithMetadata(new ProducesResponseTypeMetadata(statusCode, typeof(ProblemDetails), [contentType])); 175return builder.WithMetadata(new ProducesResponseTypeMetadata(statusCode, typeof(HttpValidationProblemDetails), [contentType])); 191=> builder.WithMetadata(new TagsAttribute(tags)); 280return builder.WithMetadata(new AcceptsMetadata(contentTypes, requestType, isOptional)); 291=> builder.WithMetadata(new EndpointDescriptionAttribute(description)); 301=> builder.WithMetadata(new EndpointSummaryAttribute(summary));
Builder\RoutingEndpointConventionBuilderExtensions.cs (4)
125builder.WithMetadata(new EndpointNameMetadata(endpointName), new RouteNameMetadata(endpointName)); 139builder.WithMetadata(new EndpointGroupNameAttribute(endpointGroupName)); 197builder.WithMetadata(new FormMappingOptionsMetadata(maxCollectionSize, maxRecursionDepth, maxKeySize)); 232builder.WithMetadata(new FormOptionsMetadata(bufferBody, memoryBufferThreshold, bufferBodyLengthLimit, valueCountLimit, keyLengthLimit, valueLengthLimit, multipartBoundaryLengthLimit, multipartHeadersCountLimit, multipartHeadersLengthLimit, multipartBodyLengthLimit));
Builder\ValidationRouteHandlerBuilderExtensions.cs (1)
25builder.WithMetadata(new DisableValidationMetadata());
Microsoft.AspNetCore.StaticFiles (4)
StaticFilesEndpointRouteBuilderExtensions.cs (4)
56.WithMetadata(new HttpMethodMetadata(_supportedHttpMethods)); 92.WithMetadata(new HttpMethodMetadata(_supportedHttpMethods)); 135.WithMetadata(new HttpMethodMetadata(_supportedHttpMethods)); 177.WithMetadata(new HttpMethodMetadata(_supportedHttpMethods));