/// <summary> /// Initializes a new instance of the <see cref="NinjectWebApiHttpApplicationPlugin"/> class. /// </summary> /// <param name="kernel">The kernel.</param> /// <param name="webApiRequestScopeProvider">The web API request scope provider.</param> public NinjectWebApiHttpApplicationPlugin(IKernel kernel, IWebApiRequestScopeProvider webApiRequestScopeProvider) { this.kernel = kernel; this.webApiRequestScopeProvider = webApiRequestScopeProvider; }