C# Class Ninject.ExtensionsForKernel

Extension methods for IKernel
Mostra file Open project: ninject/Ninject.Extensions.Xml

Public Methods

Method Description
LoadFromConfiguration ( this kernel ) : void

Load Ninject modules from Application Configuration File.

Private Methods

Method Description
GetModules ( IKernel kernel, System.Xml.Linq.XDocument document ) : IEnumerable

Gets the modules.

Method Details

LoadFromConfiguration() public static method

Load Ninject modules from Application Configuration File.
public static LoadFromConfiguration ( this kernel ) : void
kernel this Ninject kernel.
return void