Method | Description | |
---|---|---|
GetRequestScope ( IContext context ) : object |
Gets the request scope.
|
|
NinjectWebApiHttpApplicationPlugin ( IKernel kernel, IWebApiRequestScopeProvider webApiRequestScopeProvider ) : System.Linq |
Initializes a new instance of the NinjectWebApiHttpApplicationPlugin class.
|
|
Start ( ) : void |
Starts this instance.
|
|
Stop ( ) : void |
Stops this instance.
|
Method | Description | |
---|---|---|
CreateDependencyResolver ( ) : IDependencyResolver |
Creates the controller factory that is used to create the controllers.
|
protected CreateDependencyResolver ( ) : IDependencyResolver | ||
return | IDependencyResolver |
public GetRequestScope ( IContext context ) : object | ||
context | IContext | The context. |
return | object |
public NinjectWebApiHttpApplicationPlugin ( IKernel kernel, IWebApiRequestScopeProvider webApiRequestScopeProvider ) : System.Linq | ||
kernel | IKernel | The kernel. |
webApiRequestScopeProvider | IWebApiRequestScopeProvider | The web API request scope provider. |
return | System.Linq |