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.

C#
public interface IBindableFromHttpContext<TSelf> where TSelf : class, IBindableFromHttpContext<TSelf>

Type Parameters

TSelf

The type that implements this interface.

Methods

BindAsync(HttpContext, ParameterInfo)

Creates an instance of TSelf from the HttpContext.

Applies to

Product Versions
ASP.NET Core 7.0, 8.0, 9.0