共用方式為


OwinAppBuilder.ConfigureExtensions(IAppBuilder, HttpConfiguration) 方法

定義

將實例新增 IOwinAppBuilderExtension 至 OWIN 應用程式管線。 IOwinAppBuilderExtension 向相依性插入引擎註冊的實作會自動新增至 OWIN 應用程式管線的結尾。 這對於在管線的驗證部分之後新增排序不是重要的延伸模組很有用。

protected virtual void ConfigureExtensions (Owin.IAppBuilder appBuilder, System.Web.Http.HttpConfiguration config);
abstract member ConfigureExtensions : Owin.IAppBuilder * System.Web.Http.HttpConfiguration -> unit
override this.ConfigureExtensions : Owin.IAppBuilder * System.Web.Http.HttpConfiguration -> unit
Protected Overridable Sub ConfigureExtensions (appBuilder As IAppBuilder, config As HttpConfiguration)

參數

appBuilder
Owin.IAppBuilder

要設定的 Owin.IAppBuilder

config
System.Web.Http.HttpConfiguration

目前的 System.Web.Http.HttpConfiguration

適用於