C# 클래스 Ninject.Web.WebApi.OwinHost.OwinWebApiAppBuilderExtensions

The OWIN web API app builder extensions.
파일 보기 프로젝트 열기: ninject/Ninject.Web.WebApi

공개 메소드들

메소드 설명
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