Share via


IBindableFromHttpContext<TSelf>.BindAsync Yöntem

Tanım

öğesinin bir örneğini TSelfHttpContextoluşturur.

public static abstract System.Threading.Tasks.ValueTask<TSelf?> BindAsync (Microsoft.AspNetCore.Http.HttpContext context, System.Reflection.ParameterInfo parameter);
static member BindAsync : Microsoft.AspNetCore.Http.HttpContext * System.Reflection.ParameterInfo -> System.Threading.Tasks.ValueTask<'Self (requires 'Self : null and 'Self :> Microsoft.AspNetCore.Http.IBindableFromHttpContext<'Self>)>
Public Shared Function BindAsync (context As HttpContext, parameter As ParameterInfo) As ValueTask(Of TSelf)

Parametreler

context
HttpContext

HttpContext Geçerli istek için.

parameter
ParameterInfo

ParameterInfo Döndürülen örneğin doldurulacağı yol işleyici temsilcisi parametresi için değeri.

Döndürülenler

ValueTask<TSelf>

örneği TSelf.

Şunlara uygulanır