6 instantiations of RequestDelegateMetadataResult
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
144return new RequestDelegateMetadataResult
Microsoft.AspNetCore.Http.Extensions.Tests (5)
RequestDelegateFactoryTests.cs (1)
2871var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() };
RequestDelegateFactoryTests.FormMapping.cs (4)
30var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() }; 77var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() }; 125var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() }; 249var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() };
28 references to RequestDelegateMetadataResult
Microsoft.AspNetCore.Http.Extensions (12)
RequestDelegateFactory.cs (11)
133/// Returns metadata inferred automatically for the <see cref="RequestDelegate"/> created by <see cref="Create(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/>. 136/// <param name="methodInfo">The <see cref="MethodInfo"/> for the route handler to be passed to <see cref="Create(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/>.</param> 137/// <param name="options">The options that will be used when calling <see cref="Create(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/>.</param> 138/// <returns>The <see cref="RequestDelegateMetadataResult"/> to be passed to <see cref="Create(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/>.</returns> 139public static RequestDelegateMetadataResult InferMetadata(MethodInfo methodInfo, RequestDelegateFactoryOptions? options = null) 169/// If <see langword="null"/>, this call to <see cref="Create(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/> method will infer the metadata that 175public static RequestDelegateResult Create(Delegate handler, RequestDelegateFactoryOptions? options = null, RequestDelegateMetadataResult? metadataResult = null) 221/// If <see langword="null"/>, this call to <see cref="Create(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/> method will infer the metadata that 227public static RequestDelegateResult Create(MethodInfo methodInfo, Func<HttpContext, object>? targetFactory = null, RequestDelegateFactoryOptions? options = null, RequestDelegateMetadataResult? metadataResult = null) 264private static RequestDelegateFactoryContext CreateFactoryContext(RequestDelegateFactoryOptions? options, RequestDelegateMetadataResult? metadataResult = null, Delegate? handler = null)
RequestDelegateMetadataResult.cs (1)
9/// If this is passed to <see cref="RequestDelegateFactory.Create(Delegate, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions?, Microsoft.AspNetCore.Http.RequestDelegateMetadataResult?)"/>,
Microsoft.AspNetCore.Http.Extensions.Tests (7)
RequestDelegateFactoryTests.cs (3)
2871var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() }; 2907var metadataResult = RequestDelegateFactory.InferMetadata(@delegate.Method, options); 2928var metadataResult = RequestDelegateFactory.InferMetadata(@delegate.Method, options);
RequestDelegateFactoryTests.FormMapping.cs (4)
30var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() }; 77var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() }; 125var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() }; 249var metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() };
Microsoft.AspNetCore.Routing (9)
Builder\EndpointRouteBuilderExtensions.cs (1)
203static RequestDelegateResult CreateHandlerRequestDelegate(Delegate handler, RequestDelegateFactoryOptions options, RequestDelegateMetadataResult? metadataResult)
Builder\RouteHandlerServices.cs (4)
38Func<MethodInfo, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult> populateMetadata, 39Func<Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult?, RequestDelegateResult> createRequestDelegate) 68Func<MethodInfo, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult> populateMetadata, 69Func<Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult?, RequestDelegateResult> createRequestDelegate,
RouteEndpointDataSource.cs (4)
31Func<Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult?, RequestDelegateResult> createHandlerRequestDelegateFunc, 58Func<MethodInfo, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult>? inferMetadataFunc, 59Func<Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult?, RequestDelegateResult> createHandlerRequestDelegateFunc, 205RequestDelegateMetadataResult? rdfMetadataResult = null;