Delen via


IBindableFromHttpContext<TSelf> Interface

Definition

Defines a mechanism for creating an instance of a type from an HttpContext when binding parameters for an endpoint route handler delegate.

public interface IBindableFromHttpContext<TSelf> where TSelf : class, IBindableFromHttpContext<TSelf>
type IBindableFromHttpContext<'Self (requires 'Self : null and 'Self :> IBindableFromHttpContext<'Self>)> = interface
Public Interface IBindableFromHttpContext(Of TSelf)

Type Parameters

TSelf

The type that implements this interface.

Methods

BindAsync(HttpContext, ParameterInfo)

Creates an instance of TSelf from the HttpContext.

Applies to