![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
Provides an ability to resolve instances of objects using Ninject More...
Inheritance diagram for Cqrs.Ninject.Configuration.NinjectDependencyResolver:Public Member Functions | |
| NinjectDependencyResolver (IKernel kernel) | |
| Instantiates a new instance of NinjectDependencyResolver More... | |
| override T | Resolve< T > () |
| Resolves a single instance for the specified T . by calling IResolutionRoot.Resolve More... | |
| override object | Resolve (Type type) |
| Resolves a single instance for the specified type . by calling IResolutionRoot.Resolve More... | |
Static Public Member Functions | |
| static void | Start (IKernel kernel=null, bool prepareProvidedKernel=false) |
| Starts the NinjectDependencyResolver More... | |
| static void | PrepareKernel (IKernel kernel) |
| Calls IKernel.Load(IEnumerable<INinjectModule>) passing in ModulesToLoad More... | |
Static Public Attributes | |
| static IList< INinjectModule > | ModulesToLoad = new List<INinjectModule>() |
| A collection of INinjectModule instances to load when we call PrepareKernel More... | |
Protected Member Functions | |
| virtual void | BindDependencyResolver () |
| Checks if IDependencyResolver has already been registered and if not, registers this instance to it. More... | |
Properties | |
| IKernel | Kernel [get] |
| The inner Ninject IKernel used by this instance. More... | |
| static Func< IKernel, NinjectDependencyResolver > | DependencyResolverCreator [get, set] |
| A user supplied Func<TResult> that will be called during Start to create and populate DependencyResolver.Current. More... | |
Properties inherited from Cqrs.Configuration.DependencyResolver | |
| static IDependencyResolver | Current [get, protected set] |
| The current instance of the IDependencyResolver. More... | |
Provides an ability to resolve instances of objects using Ninject