Share via


IBindableFromHttpContext<TSelf> 介面

定義

定義在端點路由處理常式委派的系結參數時,從 HttpContext 建立型別實例的機制。

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)

類型參數

TSelf

實作這個介面的類型。

方法

BindAsync(HttpContext, ParameterInfo)

HttpContext 建立 TSelf 的執行個體。

適用於