Dela via


RequestDelegateMetadataResult Class

Definition

The metadata inferred by InferMetadata(MethodInfo, RequestDelegateFactoryOptions). EndpointBuilder will be automatically populated with this metadata if provided. If this is passed to Create(Delegate, RequestDelegateFactoryOptions, RequestDelegateMetadataResult), it will not repeat metadata inference. Any metadata that would be inferred should already be stored in the EndpointBuilder.

public sealed class RequestDelegateMetadataResult
type RequestDelegateMetadataResult = class
Public NotInheritable Class RequestDelegateMetadataResult
Inheritance
RequestDelegateMetadataResult

Constructors

RequestDelegateMetadataResult()

Properties

EndpointMetadata

Gets endpoint metadata inferred from creating the RequestDelegate. If a non-null RequestDelegateFactoryOptions.EndpointMetadata list was passed in, this will be the same instance.

Applies to