mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-10 11:10:40 +02:00
Updated Ninject using NuGet
This commit is contained in:
parent
499279e2ac
commit
6870c2326f
@ -46,9 +46,9 @@
|
||||
<Reference Include="Gallio, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e, processorArchitecture=MSIL" />
|
||||
<Reference Include="MbUnit, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e, processorArchitecture=MSIL" />
|
||||
<Reference Include="Moq, Version=4.0.10827.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL" />
|
||||
<Reference Include="Ninject, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||
<Reference Include="Ninject, Version=2.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\NzbDrone.Core\Libraries\Ninject.dll</HintPath>
|
||||
<HintPath>..\packages\Ninject.2.2.1.0\lib\.NetFramework 4.0\Ninject.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog">
|
||||
<HintPath>..\NzbDrone.Core\Libraries\NLog.dll</HintPath>
|
||||
@ -128,6 +128,7 @@
|
||||
<SubType>Designer</SubType>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
4
NzbDrone.Core.Test/packages.config
Normal file
4
NzbDrone.Core.Test/packages.config
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Ninject" version="2.2.1.0" />
|
||||
</packages>
|
Binary file not shown.
@ -128,7 +128,10 @@
|
||||
</Reference>
|
||||
<Reference Include="Gallio, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e, processorArchitecture=MSIL" />
|
||||
<Reference Include="MbUnit, Version=3.2.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e, processorArchitecture=MSIL" />
|
||||
<Reference Include="Ninject, Version=2.1.0.76, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL" />
|
||||
<Reference Include="Ninject, Version=2.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\Ninject.2.2.1.0\lib\.NetFramework 4.0\Ninject.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL" />
|
||||
<Reference Include="NLog.Extended, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
@ -277,8 +280,6 @@
|
||||
<Content Include="Libraries\Castle.Core.dll" />
|
||||
<Content Include="Libraries\Castle.Core.xml" />
|
||||
<Content Include="Libraries\Exceptioneer.WindowsFormsClient.dll" />
|
||||
<Content Include="Libraries\Ninject.dll" />
|
||||
<Content Include="Libraries\Ninject.xml" />
|
||||
<Content Include="Libraries\NLog.dll" />
|
||||
<Content Include="Libraries\NLog.Extended.dll" />
|
||||
<Content Include="Libraries\NLog.Extended.xml" />
|
||||
@ -297,6 +298,7 @@
|
||||
<None Include="Libraries\nlog.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
4
NzbDrone.Core/packages.config
Normal file
4
NzbDrone.Core/packages.config
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Ninject" version="2.2.1.0" />
|
||||
</packages>
|
BIN
NzbDrone.Web/Libraries/Ninject.Web.Mvc.dll
Normal file
BIN
NzbDrone.Web/Libraries/Ninject.Web.Mvc.dll
Normal file
Binary file not shown.
183
NzbDrone.Web/Libraries/Ninject.Web.Mvc.xml
Normal file
183
NzbDrone.Web/Libraries/Ninject.Web.Mvc.xml
Normal file
@ -0,0 +1,183 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Ninject.Web.Mvc</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Ninject.Web.Mvc.ControllerMissingBindingResolver">
|
||||
<summary>
|
||||
Nissing binding resolver that creates a binding for unknown controllers.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.ControllerMissingBindingResolver.Resolve(Ninject.Infrastructure.Multimap{System.Type,Ninject.Planning.Bindings.IBinding},Ninject.Activation.IRequest)">
|
||||
<summary>
|
||||
Returns any bindings from the specified collection that match the specified request.
|
||||
</summary>
|
||||
<param name="bindings">The multimap of all registered bindings.</param>
|
||||
<param name="request">The request in question.</param>
|
||||
<returns>The series of matching bindings.</returns>
|
||||
</member>
|
||||
<member name="T:Ninject.Web.Mvc.FilterInjector">
|
||||
<summary>
|
||||
Injects all filters of a filter info.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.Web.Mvc.IFilterInjector">
|
||||
<summary>
|
||||
Injects all filters of a FiltorInfo.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.IFilterInjector.Inject(System.Web.Mvc.FilterInfo)">
|
||||
<summary>
|
||||
Injects all filters of the specified filter info.
|
||||
</summary>
|
||||
<param name="filterInfo">The filter info.</param>
|
||||
</member>
|
||||
<member name="F:Ninject.Web.Mvc.FilterInjector.kernel">
|
||||
<summary>
|
||||
The kernel
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.FilterInjector.#ctor(Ninject.IKernel)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Web.Mvc.FilterInjector"/> class.
|
||||
</summary>
|
||||
<param name="kernel">The kernel.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.FilterInjector.Inject(System.Web.Mvc.FilterInfo)">
|
||||
<summary>
|
||||
Injects all filters of the specified filter info.
|
||||
</summary>
|
||||
<param name="filterInfo">The filter info.</param>
|
||||
</member>
|
||||
<member name="T:Ninject.Web.Mvc.NinjectActionInvoker">
|
||||
<summary>
|
||||
An <see cref="T:System.Web.Mvc.IActionInvoker"/> that injects filters with dependencies.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Ninject.Web.Mvc.NinjectActionInvoker.filterInjector">
|
||||
<summary>
|
||||
The injector for filter injection.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectActionInvoker.#ctor(Ninject.Web.Mvc.IFilterInjector)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Web.Mvc.NinjectActionInvoker"/> class.
|
||||
</summary>
|
||||
<param name="filterInjector">The filter injector.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectActionInvoker.GetFilters(System.Web.Mvc.ControllerContext,System.Web.Mvc.ActionDescriptor)">
|
||||
<summary>
|
||||
Gets the filters for the specified request and action.
|
||||
</summary>
|
||||
<param name="controllerContext">The controller context.</param>
|
||||
<param name="actionDescriptor">The action descriptor.</param>
|
||||
<returns>The filters.</returns>
|
||||
</member>
|
||||
<member name="T:Ninject.Web.Mvc.NinjectAsyncActionInvoker">
|
||||
<summary>
|
||||
An <see cref="T:System.Web.Mvc.IActionInvoker"/> that injects filters with dependencies.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Ninject.Web.Mvc.NinjectAsyncActionInvoker.filterInjector">
|
||||
<summary>
|
||||
The injector for filter injection.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectAsyncActionInvoker.#ctor(Ninject.Web.Mvc.IFilterInjector)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Web.Mvc.NinjectAsyncActionInvoker"/> class.
|
||||
</summary>
|
||||
<param name="filterInjector">The filter injector.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectAsyncActionInvoker.GetFilters(System.Web.Mvc.ControllerContext,System.Web.Mvc.ActionDescriptor)">
|
||||
<summary>
|
||||
Gets the filters for the specified request and action.
|
||||
</summary>
|
||||
<param name="controllerContext">The controller context.</param>
|
||||
<param name="actionDescriptor">The action descriptor.</param>
|
||||
<returns>The filters.</returns>
|
||||
</member>
|
||||
<member name="T:Ninject.Web.Mvc.NinjectControllerFactory">
|
||||
<summary>
|
||||
A controller factory that creates <see cref="T:System.Web.Mvc.IController"/>s via Ninject.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectControllerFactory.#ctor(Ninject.IKernel)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Web.Mvc.NinjectControllerFactory"/> class.
|
||||
</summary>
|
||||
<param name="kernel">The kernel that should be used to create controllers.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectControllerFactory.GetControllerInstance(System.Web.Routing.RequestContext,System.Type)">
|
||||
<summary>
|
||||
Gets a controller instance of type controllerType.
|
||||
</summary>
|
||||
<param name="requestContext">The request context.</param>
|
||||
<param name="controllerType">Type of controller to create.</param>
|
||||
<returns>The controller instance.</returns>
|
||||
</member>
|
||||
<member name="P:Ninject.Web.Mvc.NinjectControllerFactory.Kernel">
|
||||
<summary>
|
||||
Gets the kernel that will be used to create controllers.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.Web.Mvc.NinjectHttpApplication">
|
||||
<summary>
|
||||
Defines an <see cref="T:System.Web.HttpApplication"/> that is controlled by a Ninject <see cref="T:Ninject.IKernel"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Ninject.Web.Mvc.NinjectHttpApplication.onePerRequestModule">
|
||||
<summary>
|
||||
The one per request module to release request scope at the end of the request
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Ninject.Web.Mvc.NinjectHttpApplication.kernel">
|
||||
<summary>
|
||||
The ninject kernel of the application
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectHttpApplication.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Web.Mvc.NinjectHttpApplication"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectHttpApplication.Application_Start">
|
||||
<summary>
|
||||
Starts the application.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectHttpApplication.Application_End">
|
||||
<summary>
|
||||
Releases the kernel on application end.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectHttpApplication.CreateKernel">
|
||||
<summary>
|
||||
Creates the kernel that will manage your application.
|
||||
</summary>
|
||||
<returns>The created kernel.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectHttpApplication.CreateControllerFactory">
|
||||
<summary>
|
||||
Creates the controller factory that is used to create the controllers.
|
||||
</summary>
|
||||
<returns>The created controller factory.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectHttpApplication.OnApplicationStarted">
|
||||
<summary>
|
||||
Called when the application is started.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Web.Mvc.NinjectHttpApplication.OnApplicationStopped">
|
||||
<summary>
|
||||
Called when the application is stopped.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.Web.Mvc.NinjectHttpApplication.Kernel">
|
||||
<summary>
|
||||
Gets the kernel.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -1,50 +0,0 @@
|
||||
//
|
||||
// Authors: Nate Kohari <nate@enkari.com>, Remo Gloor <remo.gloor@gmail.com>
|
||||
// Copyright (c) 2007-2010, Enkari, Ltd. and contributors
|
||||
//
|
||||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
|
||||
// See the file LICENSE.txt for details.
|
||||
//
|
||||
|
||||
namespace Ninject.Web.Mvc
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web.Mvc;
|
||||
using Ninject.Activation;
|
||||
using Ninject.Activation.Providers;
|
||||
using Ninject.Components;
|
||||
using Ninject.Infrastructure;
|
||||
using Ninject.Parameters;
|
||||
using Ninject.Planning.Bindings;
|
||||
using Ninject.Planning.Bindings.Resolvers;
|
||||
|
||||
/// <summary>
|
||||
/// Missing binding resolver that creates a binding for unknown controllers.
|
||||
/// </summary>
|
||||
public class ControllerMissingBindingResolver : NinjectComponent, IMissingBindingResolver
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns any bindings from the specified collection that match the specified request.
|
||||
/// </summary>
|
||||
/// <param name="bindings">The multimap of all registered bindings.</param>
|
||||
/// <param name="request">The request in question.</param>
|
||||
/// <returns>The series of matching bindings.</returns>
|
||||
public IEnumerable<IBinding> Resolve(Multimap<Type, IBinding> bindings, IRequest request)
|
||||
{
|
||||
var service = request.Service;
|
||||
if (typeof(Controller).IsAssignableFrom(service))
|
||||
{
|
||||
var binding = new Binding(service) { ProviderCallback = StandardProvider.GetCreationCallback(service) };
|
||||
binding.Parameters.Add(
|
||||
typeof(AsyncController).IsAssignableFrom(service)
|
||||
? new PropertyValue("ActionInvoker", ctx => ctx.Kernel.Get<NinjectAsyncActionInvoker>())
|
||||
: new PropertyValue("ActionInvoker", ctx => ctx.Kernel.Get<NinjectActionInvoker>()));
|
||||
return new[] { binding };
|
||||
}
|
||||
|
||||
return Enumerable.Empty<IBinding>();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
//
|
||||
// Authors: Nate Kohari <nate@enkari.com>, Remo Gloor <remo.gloor@gmail.com>
|
||||
// Copyright (c) 2007-2010, Enkari, Ltd. and contributors
|
||||
//
|
||||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
|
||||
// See the file LICENSE.txt for details.
|
||||
//
|
||||
|
||||
namespace Ninject.Web.Mvc
|
||||
{
|
||||
using System.Linq;
|
||||
using System.Web.Mvc;
|
||||
|
||||
/// <summary>
|
||||
/// Injects all filters of a filter info.
|
||||
/// </summary>
|
||||
public class FilterInjector : IFilterInjector
|
||||
{
|
||||
/// <summary>
|
||||
/// The kernel
|
||||
/// </summary>
|
||||
private readonly IKernel kernel;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="FilterInjector"/> class.
|
||||
/// </summary>
|
||||
/// <param name="kernel">The kernel.</param>
|
||||
public FilterInjector(IKernel kernel)
|
||||
{
|
||||
this.kernel = kernel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Injects all filters of the specified filter info.
|
||||
/// </summary>
|
||||
/// <param name="filterInfo">The filter info.</param>
|
||||
public void Inject(FilterInfo filterInfo)
|
||||
{
|
||||
foreach (IActionFilter filter in filterInfo.ActionFilters.Where(f => f != null))
|
||||
{
|
||||
this.kernel.Inject(filter);
|
||||
}
|
||||
|
||||
foreach (IAuthorizationFilter filter in filterInfo.AuthorizationFilters.Where(f => f != null))
|
||||
{
|
||||
this.kernel.Inject(filter);
|
||||
}
|
||||
|
||||
foreach (IExceptionFilter filter in filterInfo.ExceptionFilters.Where(f => f != null))
|
||||
{
|
||||
this.kernel.Inject(filter);
|
||||
}
|
||||
|
||||
foreach (IResultFilter filter in filterInfo.ResultFilters.Where(f => f != null))
|
||||
{
|
||||
this.kernel.Inject(filter);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
//
|
||||
// Authors: Nate Kohari <nate@enkari.com>, Remo Gloor <remo.gloor@gmail.com>
|
||||
// Copyright (c) 2007-2010, Enkari, Ltd. and contributors
|
||||
//
|
||||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
|
||||
// See the file LICENSE.txt for details.
|
||||
//
|
||||
|
||||
namespace Ninject.Web.Mvc
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
|
||||
/// <summary>
|
||||
/// Injects all filters of a FiltorInfo.
|
||||
/// </summary>
|
||||
public interface IFilterInjector
|
||||
{
|
||||
/// <summary>
|
||||
/// Injects all filters of the specified filter info.
|
||||
/// </summary>
|
||||
/// <param name="filterInfo">The filter info.</param>
|
||||
void Inject(FilterInfo filterInfo);
|
||||
}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
//
|
||||
// Authors: Nate Kohari <nate@enkari.com>, Josh Close <narshe@gmail.com>
|
||||
// Copyright (c) 2007-2009, Enkari, Ltd.
|
||||
//
|
||||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
|
||||
// See the file LICENSE.txt for details.
|
||||
//
|
||||
|
||||
namespace Ninject.Web.Mvc
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
|
||||
/// <summary>
|
||||
/// An <see cref="IActionInvoker"/> that injects filters with dependencies.
|
||||
/// </summary>
|
||||
public class NinjectActionInvoker : ControllerActionInvoker
|
||||
{
|
||||
private readonly IFilterInjector filterInjector;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NinjectActionInvoker"/> class.
|
||||
/// </summary>
|
||||
/// <param name="filterInjector">The filter injector.</param>
|
||||
public NinjectActionInvoker(IFilterInjector filterInjector)
|
||||
{
|
||||
this.filterInjector = filterInjector;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the filters for the specified request and action.
|
||||
/// </summary>
|
||||
/// <param name="controllerContext">The controller context.</param>
|
||||
/// <param name="actionDescriptor">The action descriptor.</param>
|
||||
/// <returns>The filters.</returns>
|
||||
protected override FilterInfo GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor)
|
||||
{
|
||||
FilterInfo filterInfo = base.GetFilters(controllerContext, actionDescriptor);
|
||||
this.filterInjector.Inject(filterInfo);
|
||||
return filterInfo;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
//
|
||||
// Authors: Nate Kohari <nate@enkari.com>, Josh Close <narshe@gmail.com>
|
||||
// Copyright (c) 2007-2009, Enkari, Ltd.
|
||||
//
|
||||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
|
||||
// See the file LICENSE.txt for details.
|
||||
//
|
||||
|
||||
namespace Ninject.Web.Mvc
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Mvc.Async;
|
||||
|
||||
/// <summary>
|
||||
/// An <see cref="IActionInvoker"/> that injects filters with dependencies.
|
||||
/// </summary>
|
||||
public class NinjectAsyncActionInvoker : AsyncControllerActionInvoker
|
||||
{
|
||||
private readonly IFilterInjector filterInjector;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NinjectAsyncActionInvoker"/> class.
|
||||
/// </summary>
|
||||
/// <param name="filterInjector">The filter injector.</param>
|
||||
public NinjectAsyncActionInvoker(IFilterInjector filterInjector)
|
||||
{
|
||||
this.filterInjector = filterInjector;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the filters for the specified request and action.
|
||||
/// </summary>
|
||||
/// <param name="controllerContext">The controller context.</param>
|
||||
/// <param name="actionDescriptor">The action descriptor.</param>
|
||||
/// <returns>The filters.</returns>
|
||||
protected override FilterInfo GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor)
|
||||
{
|
||||
FilterInfo filterInfo = base.GetFilters(controllerContext, actionDescriptor);
|
||||
this.filterInjector.Inject(filterInfo);
|
||||
return filterInfo;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,88 +0,0 @@
|
||||
//
|
||||
// Authors: Nate Kohari <nate@enkari.com>, Josh Close <narshe@gmail.com>
|
||||
// Copyright (c) 2007-2009, Enkari, Ltd.
|
||||
//
|
||||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
|
||||
// See the file LICENSE.txt for details.
|
||||
//
|
||||
|
||||
namespace Ninject.Web.Mvc
|
||||
{
|
||||
using System;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
|
||||
/// <summary>
|
||||
/// A controller factory that creates <see cref="IController"/>s via Ninject.
|
||||
/// </summary>
|
||||
public class NinjectControllerFactory : DefaultControllerFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the kernel that will be used to create controllers.
|
||||
/// </summary>
|
||||
public IKernel Kernel { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NinjectControllerFactory"/> class.
|
||||
/// </summary>
|
||||
/// <param name="kernel">The kernel that should be used to create controllers.</param>
|
||||
public NinjectControllerFactory(IKernel kernel)
|
||||
{
|
||||
Kernel = kernel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a controller instance of type controllerType.
|
||||
/// </summary>
|
||||
/// <param name="requestContext">The request context.</param>
|
||||
/// <param name="controllerType">Type of controller to create.</param>
|
||||
/// <returns>The controller instance.</returns>
|
||||
protected override IController GetControllerInstance(RequestContext requestContext, Type controllerType)
|
||||
{
|
||||
if(controllerType == null)
|
||||
{
|
||||
// let the base handle 404 errors with proper culture information
|
||||
return base.GetControllerInstance(requestContext, controllerType);
|
||||
}
|
||||
|
||||
var controller = Kernel.TryGet(controllerType) as IController;
|
||||
|
||||
if (controller == null)
|
||||
return base.GetControllerInstance(requestContext, controllerType);
|
||||
|
||||
/*
|
||||
var asyncController = controller as AsyncController;
|
||||
if (asyncController != null)
|
||||
{
|
||||
asyncController.ActionInvoker = this.CreateAsyncActionInvoker();
|
||||
}5
|
||||
else
|
||||
{
|
||||
var standardController = controller as Controller;
|
||||
if (standardController != null)
|
||||
standardController.ActionInvoker = CreateActionInvoker();
|
||||
}*/
|
||||
|
||||
return controller;
|
||||
}
|
||||
|
||||
/*
|
||||
/// <summary>
|
||||
/// Creates the action invoker.
|
||||
/// </summary>
|
||||
/// <returns>The action invoker.</returns>
|
||||
protected virtual NinjectActionInvoker CreateActionInvoker()
|
||||
{
|
||||
return new NinjectActionInvoker(Kernel);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates the action invoker.
|
||||
/// </summary>
|
||||
/// <returns>The action invoker.</returns>
|
||||
protected virtual NinjectAsyncActionInvoker CreateAsyncActionInvoker()
|
||||
{
|
||||
return new NinjectAsyncActionInvoker(Kernel);
|
||||
}*/
|
||||
}
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
#region License
|
||||
//
|
||||
// Authors: Nate Kohari <nate@enkari.com>, Josh Close <narshe@gmail.com>
|
||||
// Copyright (c) 2007-2009, Enkari, Ltd.
|
||||
//
|
||||
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
|
||||
// See the file LICENSE.txt for details.
|
||||
//
|
||||
#endregion
|
||||
#region Using Directives
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
using Ninject.Infrastructure;
|
||||
#endregion
|
||||
|
||||
namespace Ninject.Web.Mvc
|
||||
{
|
||||
using Ninject.Planning.Bindings.Resolvers;
|
||||
|
||||
/// <summary>
|
||||
/// Defines an <see cref="HttpApplication"/> that is controlled by a Ninject <see cref="IKernel"/>.
|
||||
/// </summary>
|
||||
public abstract class NinjectHttpApplication : HttpApplication, IHaveKernel
|
||||
{
|
||||
private static IKernel _kernel;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the kernel.
|
||||
/// </summary>
|
||||
public IKernel Kernel
|
||||
{
|
||||
get { return _kernel; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Starts the application.
|
||||
/// </summary>
|
||||
public void Application_Start()
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
_kernel = CreateKernel();
|
||||
|
||||
_kernel.Components.RemoveAll<IMissingBindingResolver>();
|
||||
_kernel.Components.Add<IMissingBindingResolver, ControllerMissingBindingResolver>();
|
||||
_kernel.Components.Add<IMissingBindingResolver, SelfBindingResolver>();
|
||||
|
||||
_kernel.Bind<RouteCollection>().ToConstant(RouteTable.Routes);
|
||||
_kernel.Bind<HttpContext>().ToMethod(ctx => HttpContext.Current).InTransientScope();
|
||||
_kernel.Bind<HttpContextBase>().ToMethod(ctx => new HttpContextWrapper(HttpContext.Current)).InTransientScope();
|
||||
_kernel.Bind<IFilterInjector>().To<FilterInjector>().InSingletonScope();
|
||||
|
||||
ControllerBuilder.Current.SetControllerFactory(CreateControllerFactory());
|
||||
|
||||
_kernel.Inject(this);
|
||||
|
||||
OnApplicationStarted();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Releases the kernel on application end.
|
||||
/// </summary>
|
||||
public void Application_End()
|
||||
{
|
||||
lock (this)
|
||||
{
|
||||
if (_kernel != null)
|
||||
{
|
||||
_kernel.Dispose();
|
||||
_kernel = null;
|
||||
}
|
||||
|
||||
OnApplicationStopped();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates the kernel that will manage your application.
|
||||
/// </summary>
|
||||
/// <returns>The created kernel.</returns>
|
||||
protected abstract IKernel CreateKernel();
|
||||
|
||||
/// <summary>
|
||||
/// Creates the controller factory that is used to create the controllers.
|
||||
/// </summary>
|
||||
/// <returns>The created controller factory.</returns>
|
||||
protected virtual NinjectControllerFactory CreateControllerFactory()
|
||||
{
|
||||
return new NinjectControllerFactory(Kernel);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when the application is started.
|
||||
/// </summary>
|
||||
protected virtual void OnApplicationStarted() { }
|
||||
|
||||
/// <summary>
|
||||
/// Called when the application is stopped.
|
||||
/// </summary>
|
||||
protected virtual void OnApplicationStopped() { }
|
||||
}
|
||||
}
|
@ -37,7 +37,14 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Ninject, Version=2.1.0.76, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL" />
|
||||
<Reference Include="Ninject, Version=2.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\Ninject.2.2.1.0\lib\.NetFramework 4.0\Ninject.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Ninject.Web.Mvc, Version=2.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>Libraries\Ninject.Web.Mvc.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL" />
|
||||
<Reference Include="SubSonic.Core, Version=3.0.0.3, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>D:\My Dropbox\Git\NzbDrone\NzbDrone.Core\Libraries\SubSonic.Core.dll</HintPath>
|
||||
@ -111,13 +118,6 @@
|
||||
<Compile Include="Models\SettingsModels.cs" />
|
||||
<Compile Include="Models\TestModel.cs" />
|
||||
<Compile Include="Models\UpcomingEpisodeModel.cs" />
|
||||
<Compile Include="Ninject.Web.Mvc\ControllerMissingBindingResolver.cs" />
|
||||
<Compile Include="Ninject.Web.Mvc\FilterInjector.cs" />
|
||||
<Compile Include="Ninject.Web.Mvc\IFilterInjector.cs" />
|
||||
<Compile Include="Ninject.Web.Mvc\NinjectActionInvoker.cs" />
|
||||
<Compile Include="Ninject.Web.Mvc\NinjectAsyncActionInvoker.cs" />
|
||||
<Compile Include="Ninject.Web.Mvc\NinjectControllerFactory.cs" />
|
||||
<Compile Include="Ninject.Web.Mvc\NinjectHttpApplication.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@ -467,6 +467,8 @@
|
||||
<Content Include="Content\style.css" />
|
||||
<Content Include="Content\XbmcNotification.png" />
|
||||
<Content Include="Global.asax" />
|
||||
<Content Include="Libraries\Ninject.Web.Mvc.dll" />
|
||||
<Content Include="Libraries\Ninject.Web.Mvc.xml" />
|
||||
<Content Include="Libraries\Telerik.Web.Mvc.dll" />
|
||||
<Content Include="Libraries\Telerik.Web.Mvc.xml" />
|
||||
<Content Include="Scripts\2011.1.315\jquery-1.5.1.min.js" />
|
||||
@ -573,6 +575,9 @@
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
4
NzbDrone.Web/packages.config
Normal file
4
NzbDrone.Web/packages.config
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Ninject" version="2.2.1.0" />
|
||||
</packages>
|
BIN
packages/Ninject.2.2.1.0/Ninject.2.2.1.0.nupkg
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/Ninject.2.2.1.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/Ninject.2.2.1.0/lib/.NetFramework 3.5/Ninject.dll
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/.NetFramework 3.5/Ninject.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Ninject.2.2.1.0/lib/.NetFramework 3.5/Ninject.pdb
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/.NetFramework 3.5/Ninject.pdb
vendored
Normal file
Binary file not shown.
4691
packages/Ninject.2.2.1.0/lib/.NetFramework 3.5/Ninject.xml
vendored
Normal file
4691
packages/Ninject.2.2.1.0/lib/.NetFramework 3.5/Ninject.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Ninject.2.2.1.0/lib/.NetFramework 4.0/Ninject.dll
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/.NetFramework 4.0/Ninject.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Ninject.2.2.1.0/lib/.NetFramework 4.0/Ninject.pdb
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/.NetFramework 4.0/Ninject.pdb
vendored
Normal file
Binary file not shown.
4686
packages/Ninject.2.2.1.0/lib/.NetFramework 4.0/Ninject.xml
vendored
Normal file
4686
packages/Ninject.2.2.1.0/lib/.NetFramework 4.0/Ninject.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 2.0/Ninject.dll
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 2.0/Ninject.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 2.0/Ninject.pdb
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 2.0/Ninject.pdb
vendored
Normal file
Binary file not shown.
4477
packages/Ninject.2.2.1.0/lib/Silverlight 2.0/Ninject.xml
vendored
Normal file
4477
packages/Ninject.2.2.1.0/lib/Silverlight 2.0/Ninject.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 3.0/Ninject.dll
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 3.0/Ninject.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 3.0/Ninject.pdb
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 3.0/Ninject.pdb
vendored
Normal file
Binary file not shown.
4477
packages/Ninject.2.2.1.0/lib/Silverlight 3.0/Ninject.xml
vendored
Normal file
4477
packages/Ninject.2.2.1.0/lib/Silverlight 3.0/Ninject.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 4.0/Ninject.dll
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 4.0/Ninject.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 4.0/Ninject.pdb
vendored
Normal file
BIN
packages/Ninject.2.2.1.0/lib/Silverlight 4.0/Ninject.pdb
vendored
Normal file
Binary file not shown.
@ -1418,6 +1418,140 @@
|
||||
Gets or sets the kernel that owns the component container.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.Infrastructure.Introspection.ExceptionFormatter">
|
||||
<summary>
|
||||
Provides meaningful exception messages.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.ModulesWithNullOrEmptyNamesAreNotSupported">
|
||||
<summary>
|
||||
Generates a message saying that modules without names are not supported.
|
||||
</summary>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.ModuleWithSameNameIsAlreadyLoaded(Ninject.Modules.INinjectModule,Ninject.Modules.INinjectModule)">
|
||||
<summary>
|
||||
Generates a message saying that a module with the same name is already loaded.
|
||||
</summary>
|
||||
<param name="newModule">The new module.</param>
|
||||
<param name="existingModule">The existing module.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.NoModuleLoadedWithTheSpecifiedName(System.String)">
|
||||
<summary>
|
||||
Generates a message saying that no module has been loaded with the specified name.
|
||||
</summary>
|
||||
<param name="name">The module name.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.CouldNotUniquelyResolveBinding(Ninject.Activation.IRequest)">
|
||||
<summary>
|
||||
Generates a message saying that the binding could not be uniquely resolved.
|
||||
</summary>
|
||||
<param name="request">The request.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.CouldNotResolveBinding(Ninject.Activation.IRequest)">
|
||||
<summary>
|
||||
Generates a message saying that the binding could not be resolved on the specified request.
|
||||
</summary>
|
||||
<param name="request">The request.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.CyclicalDependenciesDetected(Ninject.Activation.IContext)">
|
||||
<summary>
|
||||
Generates a message saying that the specified context has cyclic dependencies.
|
||||
</summary>
|
||||
<param name="context">The context.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.InvalidAttributeTypeUsedInBindingCondition(Ninject.Planning.Bindings.IBinding,System.String,System.Type)">
|
||||
<summary>
|
||||
Generates a message saying that an invalid attribute type is used in the binding condition.
|
||||
</summary>
|
||||
<param name="binding">The binding.</param>
|
||||
<param name="methodName">Name of the method.</param>
|
||||
<param name="type">The type.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.NoConstructorsAvailable(Ninject.Activation.IContext)">
|
||||
<summary>
|
||||
Generates a message saying that no constructors are available on the specified context.
|
||||
</summary>
|
||||
<param name="context">The context.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.NoConstructorsAvailableForComponent(System.Type,System.Type)">
|
||||
<summary>
|
||||
Generates a message saying that no constructors are available for the given component.
|
||||
</summary>
|
||||
<param name="component">The component.</param>
|
||||
<param name="implementation">The implementation.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.NoSuchComponentRegistered(System.Type)">
|
||||
<summary>
|
||||
Generates a message saying that the specified component is not registered.
|
||||
</summary>
|
||||
<param name="component">The component.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.CouldNotResolvePropertyForValueInjection(Ninject.Activation.IRequest,System.String)">
|
||||
<summary>
|
||||
Generates a message saying that the specified property could not be resolved on the specified request.
|
||||
</summary>
|
||||
<param name="request">The request.</param>
|
||||
<param name="propertyName">The property name.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.ExceptionFormatter.ProviderReturnedNull(Ninject.Activation.IContext)">
|
||||
<summary>
|
||||
Generates a message saying that the provider on the specified context returned null.
|
||||
</summary>
|
||||
<param name="context">The context.</param>
|
||||
<returns>The exception message.</returns>
|
||||
</member>
|
||||
<member name="T:Ninject.Infrastructure.Introspection.FormatExtensions">
|
||||
<summary>
|
||||
Provides extension methods for string formatting
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.FormatExtensions.FormatActivationPath(Ninject.Activation.IRequest)">
|
||||
<summary>
|
||||
Formats the activation path into a meaningful string representation.
|
||||
</summary>
|
||||
<param name="request">The request to be formatted.</param>
|
||||
<returns>The activation path formatted as string.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.FormatExtensions.Format(Ninject.Planning.Bindings.IBinding,Ninject.Activation.IContext)">
|
||||
<summary>
|
||||
Formats the given binding into a meaningful string representation.
|
||||
</summary>
|
||||
<param name="binding">The binding to be formatted.</param>
|
||||
<param name="context">The context.</param>
|
||||
<returns>The binding formatted as string</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.FormatExtensions.Format(Ninject.Activation.IRequest)">
|
||||
<summary>
|
||||
Formats the specified request into a meaningful string representation.
|
||||
</summary>
|
||||
<param name="request">The request to be formatted.</param>
|
||||
<returns>The request formatted as string.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.FormatExtensions.Format(Ninject.Planning.Targets.ITarget)">
|
||||
<summary>
|
||||
Formats the specified target into a meaningful string representation..
|
||||
</summary>
|
||||
<param name="target">The target to be formatted.</param>
|
||||
<returns>The target formatted as string.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Infrastructure.Introspection.FormatExtensions.Format(System.Type)">
|
||||
<summary>
|
||||
Formats the specified type into a meaningful string representation..
|
||||
</summary>
|
||||
<param name="type">The type to be formatted.</param>
|
||||
<returns>The type formatted as string.</returns>
|
||||
</member>
|
||||
<member name="T:Ninject.Infrastructure.Language.ExtensionsForMemberInfo">
|
||||
<summary>
|
||||
Extensions for MemberInfo
|
||||
@ -1682,11 +1816,6 @@
|
||||
Gets the callback for thread scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Ninject.Infrastructure.StandardScopeCallbacks.Request">
|
||||
<summary>
|
||||
Gets the callback for request scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.Injection.ConstructorInjector">
|
||||
<summary>
|
||||
A delegate that can inject values into a constructor.
|
||||
@ -1780,60 +1909,6 @@
|
||||
<param name="method">The method.</param>
|
||||
<returns>The created injector.</returns>
|
||||
</member>
|
||||
<member name="T:Ninject.Modules.CompiledModuleLoaderPlugin">
|
||||
<summary>
|
||||
Loads modules from compiled assemblies.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.Modules.IModuleLoaderPlugin">
|
||||
<summary>
|
||||
Loads modules at runtime by searching external files.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Modules.IModuleLoaderPlugin.LoadModules(System.Collections.Generic.IEnumerable{System.String})">
|
||||
<summary>
|
||||
Loads modules from the specified files.
|
||||
</summary>
|
||||
<param name="filenames">The names of the files to load modules from.</param>
|
||||
</member>
|
||||
<member name="P:Ninject.Modules.IModuleLoaderPlugin.SupportedExtensions">
|
||||
<summary>
|
||||
Gets the file extensions that the plugin understands how to load.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Modules.CompiledModuleLoaderPlugin.#ctor(Ninject.IKernel)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Modules.CompiledModuleLoaderPlugin"/> class.
|
||||
</summary>
|
||||
<param name="kernel">The kernel into which modules will be loaded.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Modules.CompiledModuleLoaderPlugin.LoadModules(System.Collections.Generic.IEnumerable{System.String})">
|
||||
<summary>
|
||||
Loads modules from the specified files.
|
||||
</summary>
|
||||
<param name="filenames">The names of the files to load modules from.</param>
|
||||
</member>
|
||||
<member name="P:Ninject.Modules.CompiledModuleLoaderPlugin.Kernel">
|
||||
<summary>
|
||||
Gets or sets the kernel into which modules will be loaded.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.Modules.CompiledModuleLoaderPlugin.SupportedExtensions">
|
||||
<summary>
|
||||
Gets the file extensions that the plugin understands how to load.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.Modules.IModuleLoader">
|
||||
<summary>
|
||||
Finds modules defined in external files.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Modules.IModuleLoader.LoadModules(System.Collections.Generic.IEnumerable{System.String})">
|
||||
<summary>
|
||||
Loads any modules found in the files that match the specified patterns.
|
||||
</summary>
|
||||
<param name="patterns">The patterns to search.</param>
|
||||
</member>
|
||||
<member name="T:Ninject.Modules.INinjectModule">
|
||||
<summary>
|
||||
A pluggable unit that can be loaded into an <see cref="T:Ninject.IKernel"/>.
|
||||
@ -1856,28 +1931,6 @@
|
||||
Gets the module's name.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.Modules.ModuleLoader">
|
||||
<summary>
|
||||
Automatically finds and loads modules from assemblies.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Modules.ModuleLoader.#ctor(Ninject.IKernel)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Modules.ModuleLoader"/> class.
|
||||
</summary>
|
||||
<param name="kernel">The kernel into which modules will be loaded.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Modules.ModuleLoader.LoadModules(System.Collections.Generic.IEnumerable{System.String})">
|
||||
<summary>
|
||||
Loads any modules found in the files that match the specified patterns.
|
||||
</summary>
|
||||
<param name="patterns">The patterns to search.</param>
|
||||
</member>
|
||||
<member name="P:Ninject.Modules.ModuleLoader.Kernel">
|
||||
<summary>
|
||||
Gets or sets the kernel into which modules will be loaded.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.Modules.NinjectModule">
|
||||
<summary>
|
||||
A loadable unit that defines bindings for your application.
|
||||
@ -2080,11 +2133,12 @@
|
||||
Modifies an activation process in some way.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Parameters.IParameter.GetValue(Ninject.Activation.IContext)">
|
||||
<member name="M:Ninject.Parameters.IParameter.GetValue(Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget)">
|
||||
<summary>
|
||||
Gets the value for the parameter within the specified context.
|
||||
</summary>
|
||||
<param name="context">The context.</param>
|
||||
<param name="target">The target.</param>
|
||||
<returns>The value for the parameter.</returns>
|
||||
</member>
|
||||
<member name="P:Ninject.Parameters.IParameter.Name">
|
||||
@ -2113,11 +2167,20 @@
|
||||
<param name="valueCallback">The callback that will be triggered to get the parameter's value.</param>
|
||||
<param name="shouldInherit">Whether the parameter should be inherited into child requests.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Parameters.Parameter.GetValue(Ninject.Activation.IContext)">
|
||||
<member name="M:Ninject.Parameters.Parameter.#ctor(System.String,System.Func{Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget,System.Object},System.Boolean)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Parameters.Parameter"/> class.
|
||||
</summary>
|
||||
<param name="name">The name of the parameter.</param>
|
||||
<param name="valueCallback">The callback that will be triggered to get the parameter's value.</param>
|
||||
<param name="shouldInherit">Whether the parameter should be inherited into child requests.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Parameters.Parameter.GetValue(Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget)">
|
||||
<summary>
|
||||
Gets the value for the parameter within the specified context.
|
||||
</summary>
|
||||
<param name="context">The context.</param>
|
||||
<param name="target">The target.</param>
|
||||
<returns>The value for the parameter.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.Parameters.Parameter.Equals(System.Object)">
|
||||
@ -2169,6 +2232,13 @@
|
||||
<param name="name">The name of the argument to override.</param>
|
||||
<param name="valueCallback">The callback to invoke to get the value that should be injected.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Parameters.ConstructorArgument.#ctor(System.String,System.Func{Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget,System.Object})">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Parameters.ConstructorArgument"/> class.
|
||||
</summary>
|
||||
<param name="name">The name of the argument to override.</param>
|
||||
<param name="valueCallback">The callback to invoke to get the value that should be injected.</param>
|
||||
</member>
|
||||
<member name="T:Ninject.Parameters.PropertyValue">
|
||||
<summary>
|
||||
Overrides the injected value of a property.
|
||||
@ -2188,6 +2258,13 @@
|
||||
<param name="name">The name of the property to override.</param>
|
||||
<param name="valueCallback">The callback to invoke to get the value that should be injected.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Parameters.PropertyValue.#ctor(System.String,System.Func{Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget,System.Object})">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.Parameters.PropertyValue"/> class.
|
||||
</summary>
|
||||
<param name="name">The name of the property to override.</param>
|
||||
<param name="valueCallback">The callback to invoke to get the value that should be injected.</param>
|
||||
</member>
|
||||
<member name="T:Ninject.Planning.Bindings.Resolvers.IBindingResolver">
|
||||
<summary>
|
||||
Contains logic about which bindings to use for a given service request.
|
||||
@ -2621,12 +2698,6 @@
|
||||
Indicates that instances activated via the binding should be re-used within the same thread.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Syntax.IBindingInSyntax`1.InRequestScope">
|
||||
<summary>
|
||||
Indicates that instances activated via the binding should be re-used within the same
|
||||
HTTP request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Syntax.IBindingInSyntax`1.InScope(System.Func{Ninject.Activation.IContext,System.Object})">
|
||||
<summary>
|
||||
Indicates that instances activated via the binding should be re-used as long as the object
|
||||
@ -2667,6 +2738,13 @@
|
||||
<param name="name">The name of the argument to override.</param>
|
||||
<param name="callback">The callback to invoke to get the value for the argument.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Syntax.IBindingWithSyntax`1.WithConstructorArgument(System.String,System.Func{Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget,System.Object})">
|
||||
<summary>
|
||||
Indicates that the specified constructor argument should be overridden with the specified value.
|
||||
</summary>
|
||||
<param name="name">The name of the argument to override.</param>
|
||||
<param name="callback">The callback to invoke to get the value for the argument.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Syntax.IBindingWithSyntax`1.WithPropertyValue(System.String,System.Object)">
|
||||
<summary>
|
||||
Indicates that the specified property should be injected with the specified value.
|
||||
@ -2681,6 +2759,13 @@
|
||||
<param name="name">The name of the property to override.</param>
|
||||
<param name="callback">The callback to invoke to get the value for the property.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Syntax.IBindingWithSyntax`1.WithPropertyValue(System.String,System.Func{Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget,System.Object})">
|
||||
<summary>
|
||||
Indicates that the specified property should be injected with the specified value.
|
||||
</summary>
|
||||
<param name="name">The name of the property to override.</param>
|
||||
<param name="callback">The callback to invoke to get the value for the property.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Syntax.IBindingWithSyntax`1.WithParameter(Ninject.Parameters.IParameter)">
|
||||
<summary>
|
||||
Adds a custom parameter to the binding.
|
||||
@ -2889,12 +2974,6 @@
|
||||
Indicates that instances activated via the binding should be re-used within the same thread.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Planning.Bindings.BindingBuilder`1.InRequestScope">
|
||||
<summary>
|
||||
Indicates that instances activated via the binding should be re-used within the same
|
||||
HTTP request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.Planning.Bindings.BindingBuilder`1.InScope(System.Func{Ninject.Activation.IContext,System.Object})">
|
||||
<summary>
|
||||
Indicates that instances activated via the binding should be re-used as long as the object
|
||||
@ -2916,6 +2995,13 @@
|
||||
<param name="name">The name of the argument to override.</param>
|
||||
<param name="callback">The callback to invoke to get the value for the argument.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Planning.Bindings.BindingBuilder`1.WithConstructorArgument(System.String,System.Func{Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget,System.Object})">
|
||||
<summary>
|
||||
Indicates that the specified constructor argument should be overridden with the specified value.
|
||||
</summary>
|
||||
<param name="name">The name of the argument to override.</param>
|
||||
<param name="callback">The callback to invoke to get the value for the argument.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Planning.Bindings.BindingBuilder`1.WithPropertyValue(System.String,System.Object)">
|
||||
<summary>
|
||||
Indicates that the specified property should be injected with the specified value.
|
||||
@ -2930,6 +3016,13 @@
|
||||
<param name="name">The name of the property to override.</param>
|
||||
<param name="callback">The callback to invoke to get the value for the property.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Planning.Bindings.BindingBuilder`1.WithPropertyValue(System.String,System.Func{Ninject.Activation.IContext,Ninject.Planning.Targets.ITarget,System.Object})">
|
||||
<summary>
|
||||
Indicates that the specified property should be injected with the specified value.
|
||||
</summary>
|
||||
<param name="name">The name of the property to override.</param>
|
||||
<param name="callback">The callback to invoke to get the value for the property.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Planning.Bindings.BindingBuilder`1.WithParameter(Ninject.Parameters.IParameter)">
|
||||
<summary>
|
||||
Adds a custom parameter to the binding.
|
||||
@ -2967,6 +3060,11 @@
|
||||
</summary>
|
||||
<param name="action">The action callback.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.Planning.Bindings.BindingBuilder`1.Ninject#Syntax#IFluentSyntax#GetType">
|
||||
<summary>
|
||||
Provides a root for the fluent syntax associated with an <see cref="P:Ninject.Planning.Bindings.BindingBuilder`1.Binding"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.Planning.Bindings.BindingBuilder`1.Binding">
|
||||
<summary>
|
||||
Gets the binding being built.
|
||||
@ -3742,20 +3840,6 @@
|
||||
<param name="kernel">The kernel.</param>
|
||||
<param name="modules">The modules to load.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.ModuleLoadExtensions.Load(Ninject.IKernel,System.String[])">
|
||||
<summary>
|
||||
Loads modules from the files that match the specified pattern(s).
|
||||
</summary>
|
||||
<param name="kernel">The kernel.</param>
|
||||
<param name="filePatterns">The file patterns (i.e. "*.dll", "modules/*.rb") to match.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.ModuleLoadExtensions.Load(Ninject.IKernel,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Loads modules defined in the specified assemblies.
|
||||
</summary>
|
||||
<param name="kernel">The kernel.</param>
|
||||
<param name="assemblies">The assemblies to search.</param>
|
||||
</member>
|
||||
<member name="T:Ninject.ResolutionExtensions">
|
||||
<summary>
|
||||
Extensions that enhance resolution of services.
|
||||
@ -3958,13 +4042,6 @@
|
||||
<param name="message">The exception message.</param>
|
||||
<param name="innerException">The inner exception.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.ActivationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Ninject.ActivationException"/> class.
|
||||
</summary>
|
||||
<param name="info">The serialized object data.</param>
|
||||
<param name="context">The serialization context.</param>
|
||||
</member>
|
||||
<member name="T:Ninject.IInitializable">
|
||||
<summary>
|
||||
A service that requires initialization after it is activated.
|
||||
@ -3999,18 +4076,6 @@
|
||||
</summary>
|
||||
<param name="modules">The modules to load.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.IKernel.Load(System.Collections.Generic.IEnumerable{System.String})">
|
||||
<summary>
|
||||
Loads modules from the files that match the specified pattern(s).
|
||||
</summary>
|
||||
<param name="filePatterns">The file patterns (i.e. "*.dll", "modules/*.rb") to match.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.IKernel.Load(System.Collections.Generic.IEnumerable{System.Reflection.Assembly})">
|
||||
<summary>
|
||||
Loads modules defined in the specified assemblies.
|
||||
</summary>
|
||||
<param name="assemblies">The assemblies to search.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.IKernel.Unload(System.String)">
|
||||
<summary>
|
||||
Unloads the plugin with the specified name.
|
||||
@ -4085,36 +4150,12 @@
|
||||
Gets the interval at which the cache should be pruned.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.INinjectSettings.LoadExtensions">
|
||||
<summary>
|
||||
Gets a value indicating whether the kernel should automatically load extensions at startup.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.INinjectSettings.ExtensionSearchPattern">
|
||||
<summary>
|
||||
Gets the path that should be searched for extensions.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.INinjectSettings.UseReflectionBasedInjection">
|
||||
<summary>
|
||||
Gets a value indicating whether Ninject should use reflection-based injection instead of
|
||||
the (usually faster) lightweight code generation system.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.INinjectSettings.InjectNonPublic">
|
||||
<summary>
|
||||
Gets a value indicating whether Ninject should inject non public members.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.INinjectSettings.InjectParentPrivateProperties">
|
||||
<summary>
|
||||
Gets a value indicating whether Ninject should inject private properties of base classes.
|
||||
</summary>
|
||||
<remarks>
|
||||
Activating this setting has an impact on the performance. It is recomended not
|
||||
to use this feature and use constructor injection instead.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Ninject.INinjectSettings.ActivationCacheDisabled">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the activation cache is disabled.
|
||||
@ -4227,18 +4268,6 @@
|
||||
</summary>
|
||||
<param name="modules">The modules to load.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.Load(System.Collections.Generic.IEnumerable{System.String})">
|
||||
<summary>
|
||||
Loads modules from the files that match the specified pattern(s).
|
||||
</summary>
|
||||
<param name="filePatterns">The file patterns (i.e. "*.dll", "modules/*.rb") to match.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.Load(System.Collections.Generic.IEnumerable{System.Reflection.Assembly})">
|
||||
<summary>
|
||||
Loads modules defined in the specified assemblies.
|
||||
</summary>
|
||||
<param name="assemblies">The assemblies to search.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.Unload(System.String)">
|
||||
<summary>
|
||||
Unloads the plugin with the specified name.
|
||||
@ -4274,6 +4303,30 @@
|
||||
<param name="request">The request to resolve.</param>
|
||||
<returns>An enumerator of instances that match the request.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.CreateRequest(System.Type,System.Func{Ninject.Planning.Bindings.IBindingMetadata,System.Boolean},System.Collections.Generic.IEnumerable{Ninject.Parameters.IParameter},System.Boolean,System.Boolean)">
|
||||
<summary>
|
||||
Creates a request for the specified service.
|
||||
</summary>
|
||||
<param name="service">The service that is being requested.</param>
|
||||
<param name="constraint">The constraint to apply to the bindings to determine if they match the request.</param>
|
||||
<param name="parameters">The parameters to pass to the resolution.</param>
|
||||
<param name="isOptional"><c>True</c> if the request is optional; otherwise, <c>false</c>.</param>
|
||||
<param name="isUnique"><c>True</c> if the request should return a unique result; otherwise, <c>false</c>.</param>
|
||||
<returns>The created request.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.BeginBlock">
|
||||
<summary>
|
||||
Begins a new activation block, which can be used to deterministically dispose resolved instances.
|
||||
</summary>
|
||||
<returns>The new activation block.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.GetBindings(System.Type)">
|
||||
<summary>
|
||||
Gets the bindings registered for the specified service.
|
||||
</summary>
|
||||
<param name="service">The service in question.</param>
|
||||
<returns>A series of bindings that are registered for the service.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.GetBindingPrecedenceComparer">
|
||||
<summary>
|
||||
Returns an IComparer that is used to determine resolution precedence.
|
||||
@ -4287,30 +4340,6 @@
|
||||
<param name="request">The request/</param>
|
||||
<returns>A predicate that can determine if a given IBinding matches the request.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.CreateRequest(System.Type,System.Func{Ninject.Planning.Bindings.IBindingMetadata,System.Boolean},System.Collections.Generic.IEnumerable{Ninject.Parameters.IParameter},System.Boolean,System.Boolean)">
|
||||
<summary>
|
||||
Creates a request for the specified service.
|
||||
</summary>
|
||||
<param name="service">The service that is being requested.</param>
|
||||
<param name="constraint">The constraint to apply to the bindings to determine if they match the request.</param>
|
||||
<param name="parameters">The parameters to pass to the resolution.</param>
|
||||
<param name="isOptional"><c>True</c> if the request is optional; otherwise, <c>false</c>.</param>
|
||||
<param name="isUnique"><c>True</c> if the request should return a unique result; otherwise, <c>false</c>.</param>
|
||||
<returns>The created request.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.GetBindings(System.Type)">
|
||||
<summary>
|
||||
Gets the bindings registered for the specified service.
|
||||
</summary>
|
||||
<param name="service">The service in question.</param>
|
||||
<returns>A series of bindings that are registered for the service.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.BeginBlock">
|
||||
<summary>
|
||||
Begins a new activation block, which can be used to deterministically dispose resolved instances.
|
||||
</summary>
|
||||
<returns>The new activation block.</returns>
|
||||
</member>
|
||||
<member name="M:Ninject.KernelBase.CreateBindingBuilder``1(Ninject.Planning.Bindings.IBinding)">
|
||||
<summary>
|
||||
Creates a new builder for the specified binding.
|
||||
@ -4394,36 +4423,12 @@
|
||||
Gets or sets the interval at which the GC should be polled.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.NinjectSettings.LoadExtensions">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the kernel should automatically load extensions at startup.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.NinjectSettings.ExtensionSearchPattern">
|
||||
<summary>
|
||||
Gets or sets the path that should be searched for extensions.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.NinjectSettings.UseReflectionBasedInjection">
|
||||
<summary>
|
||||
Gets a value indicating whether Ninject should use reflection-based injection instead of
|
||||
the (usually faster) lightweight code generation system.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.NinjectSettings.InjectNonPublic">
|
||||
<summary>
|
||||
Gets a value indicating whether Ninject should inject non public members.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Ninject.NinjectSettings.InjectParentPrivateProperties">
|
||||
<summary>
|
||||
Gets a value indicating whether Ninject should inject private properties of base classes.
|
||||
</summary>
|
||||
<remarks>
|
||||
Activating this setting has an impact on the performance. It is recomended not
|
||||
to use this feature and use constructor injection instead.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Ninject.NinjectSettings.ActivationCacheDisabled">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the activation cache is disabled.
|
||||
@ -4445,34 +4450,6 @@
|
||||
<c>true</c> if null is allowed as injected value otherwise false.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:Ninject.OnePerRequestModule">
|
||||
<summary>
|
||||
Provides callbacks to more aggressively collect objects scoped to HTTP requests.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Ninject.OnePerRequestModule.Init(System.Web.HttpApplication)">
|
||||
<summary>
|
||||
Initializes the module.
|
||||
</summary>
|
||||
<param name="application">The <see cref="T:System.Web.HttpApplication"/> whose instances will be managed.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.OnePerRequestModule.StartManaging(Ninject.IKernel)">
|
||||
<summary>
|
||||
Start managing instances for the specified kernel.
|
||||
</summary>
|
||||
<param name="kernel">The kernel.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.OnePerRequestModule.StopManaging(Ninject.IKernel)">
|
||||
<summary>
|
||||
Stops managing instances for the specified kernel.
|
||||
</summary>
|
||||
<param name="kernel">The kernel.</param>
|
||||
</member>
|
||||
<member name="M:Ninject.OnePerRequestModule.DeactivateInstancesForCurrentHttpRequest">
|
||||
<summary>
|
||||
Deactivates instances owned by the current <see cref="T:System.Web.HttpContext"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Ninject.StandardKernel">
|
||||
<summary>
|
||||
The standard implementation of a kernel.
|
6
packages/repositories.config
Normal file
6
packages/repositories.config
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<repositories>
|
||||
<repository path="..\NzbDrone.Web\packages.config" />
|
||||
<repository path="..\NzbDrone.Core\packages.config" />
|
||||
<repository path="..\NzbDrone.Core.Test\packages.config" />
|
||||
</repositories>
|
Loading…
Reference in New Issue
Block a user