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

The OWIN web API app builder extensions.
Afficher le fichier Open project: ninject/Ninject.Web.WebApi

Méthodes publiques

Méthode 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

Méthode Description
AddOwinModuleToBootstrapper ( IAppBuilder app, System.Web.Http.HttpConfiguration configuration ) : void

Adds the OwinWebApiModule to the OwinBootstrapper

Method Details

UseNinjectWebApi() public static méthode

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.
Résultat IAppBuilder

UseNinjectWebApi() public static méthode

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.
Résultat IAppBuilder