C# Class Ninject.Web.WebApi.OwinHost.OwinWebApiAppBuilderExtensions

The OWIN web API app builder extensions.
ファイルを表示 Open project: ninject/Ninject.Web.WebApi

Public Methods

Method Description
UseNinjectWebApi ( this app, System.Web.Http.HttpConfiguration configuration ) : IAppBuilder

Adds the OwinWebApiModule to the OwinBootstrapper and Adds Web API component to the OWIN pipeline.

UseNinjectWebApi ( this app, System.Web.Http.HttpServer httpServer ) : IAppBuilder

Adds the OwinWebApiModule to the OwinBootstrapper and Adds Web API component to the OWIN pipeline.

Private Methods

Method Description
AddOwinModuleToBootstrapper ( IAppBuilder app, System.Web.Http.HttpConfiguration configuration ) : void

Adds the OwinWebApiModule to the OwinBootstrapper

Method Details

UseNinjectWebApi() public static method

Adds the OwinWebApiModule to the OwinBootstrapper and Adds Web API component to the OWIN pipeline.
public static UseNinjectWebApi ( this app, System.Web.Http.HttpConfiguration configuration ) : IAppBuilder
app this The application builder.
configuration System.Web.Http.HttpConfiguration The used to configure the endpoint.
return IAppBuilder

UseNinjectWebApi() public static method

Adds the OwinWebApiModule to the OwinBootstrapper and Adds Web API component to the OWIN pipeline.
public static UseNinjectWebApi ( this app, System.Web.Http.HttpServer httpServer ) : IAppBuilder
app this The application builder.
httpServer System.Web.Http.HttpServer The http server.
return IAppBuilder