C# Класс Ninject.Web.WebApi.OwinHost.OwinWebApiAppBuilderExtensions

The OWIN web API app builder extensions.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AddOwinModuleToBootstrapper ( IAppBuilder app, System.Web.Http.HttpConfiguration configuration ) : void

Adds the OwinWebApiModule to the OwinBootstrapper

Описание методов

UseNinjectWebApi() публичный статический Метод

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.
Результат IAppBuilder

UseNinjectWebApi() публичный статический Метод

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.
Результат IAppBuilder