6 instantiations of RequestDelegateMetadataResult
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
144
return new
RequestDelegateMetadataResult
Microsoft.AspNetCore.Http.Extensions.Tests (5)
RequestDelegateFactoryTests.cs (1)
2871
var metadataResult = new
RequestDelegateMetadataResult
{ EndpointMetadata = new List<object>() };
RequestDelegateFactoryTests.FormMapping.cs (4)
30
var metadataResult = new
RequestDelegateMetadataResult
{ EndpointMetadata = new List<object>() };
77
var metadataResult = new
RequestDelegateMetadataResult
{ EndpointMetadata = new List<object>() };
125
var metadataResult = new
RequestDelegateMetadataResult
{ EndpointMetadata = new List<object>() };
249
var 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>
139
public 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
175
public 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
227
public static RequestDelegateResult Create(MethodInfo methodInfo, Func<HttpContext, object>? targetFactory = null, RequestDelegateFactoryOptions? options = null,
RequestDelegateMetadataResult
? metadataResult = null)
264
private 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)
2871
var
metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() };
2907
var
metadataResult = RequestDelegateFactory.InferMetadata(@delegate.Method, options);
2928
var
metadataResult = RequestDelegateFactory.InferMetadata(@delegate.Method, options);
RequestDelegateFactoryTests.FormMapping.cs (4)
30
var
metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() };
77
var
metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() };
125
var
metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() };
249
var
metadataResult = new RequestDelegateMetadataResult { EndpointMetadata = new List<object>() };
Microsoft.AspNetCore.Routing (9)
Builder\EndpointRouteBuilderExtensions.cs (1)
203
static RequestDelegateResult CreateHandlerRequestDelegate(Delegate handler, RequestDelegateFactoryOptions options,
RequestDelegateMetadataResult
? metadataResult)
Builder\RouteHandlerServices.cs (4)
38
Func<MethodInfo, RequestDelegateFactoryOptions?,
RequestDelegateMetadataResult
> populateMetadata,
39
Func<Delegate, RequestDelegateFactoryOptions,
RequestDelegateMetadataResult
?, RequestDelegateResult> createRequestDelegate)
68
Func<MethodInfo, RequestDelegateFactoryOptions?,
RequestDelegateMetadataResult
> populateMetadata,
69
Func<Delegate, RequestDelegateFactoryOptions,
RequestDelegateMetadataResult
?, RequestDelegateResult> createRequestDelegate,
RouteEndpointDataSource.cs (4)
31
Func<Delegate, RequestDelegateFactoryOptions,
RequestDelegateMetadataResult
?, RequestDelegateResult> createHandlerRequestDelegateFunc,
58
Func<MethodInfo, RequestDelegateFactoryOptions?,
RequestDelegateMetadataResult
>? inferMetadataFunc,
59
Func<Delegate, RequestDelegateFactoryOptions,
RequestDelegateMetadataResult
?, RequestDelegateResult> createHandlerRequestDelegateFunc,
205
RequestDelegateMetadataResult
? rdfMetadataResult = null;