9 references to Create
Microsoft.AspNetCore.Http.Extensions (8)
RequestDelegateFactory.cs (7)
135
/// Returns metadata inferred automatically for the <see cref="RequestDelegate"/> created by <see cref="
Create
(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/>.
138
/// <param name="methodInfo">The <see cref="MethodInfo"/> for the route handler to be passed to <see cref="
Create
(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/>.</param>
139
/// <param name="options">The options that will be used when calling <see cref="
Create
(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/>.</param>
140
/// <returns>The <see cref="RequestDelegateMetadataResult"/> to be passed to <see cref="
Create
(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/>.</returns>
161
return
Create
(handler, options, metadataResult: null);
171
/// If <see langword="null"/>, this call to <see cref="
Create
(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/> method will infer the metadata that
223
/// If <see langword="null"/>, this call to <see cref="
Create
(Delegate, RequestDelegateFactoryOptions?, RequestDelegateMetadataResult?)"/> method will infer the metadata that
RequestDelegateMetadataResult.cs (1)
9
/// If this is passed to <see cref="RequestDelegateFactory.
Create
(Delegate, Microsoft.AspNetCore.Http.RequestDelegateFactoryOptions?, Microsoft.AspNetCore.Http.RequestDelegateMetadataResult?)"/>,
Microsoft.AspNetCore.Routing (1)
Builder\EndpointRouteBuilderExtensions.cs (1)
439
.AddRouteHandler(pattern, handler, httpMethods, isFallback, RequestDelegateFactory.InferMetadata, RequestDelegateFactory.
Create
, handler.Method);