Suoranta.EnterpriseLib.Web - Developer API

DependencyResolver..::..Load Method (array<Assembly>[]()[][])

Load Ninject modules from assemblies

Namespace:  Suoranta.EnterpriseLib.Web.Util
Assembly:  Suoranta.EnterpriseLib.Web (in Suoranta.EnterpriseLib.Web.dll)

Syntax


public void Load(
	params Assembly[] assemblies
)

Parameters

assemblies
Type: array<Assembly>[]()[][]

Remarks


As with Load(IEnumerable<(Of <<'(INinjectModule>)>>)), order of loading NinjectModules depends on ordering of the IEnumerable. When a module is dependend on another, one must ensure that the latter is loaded first.

GetAssemblies is limited to assemblies that have been loaded. Referenced assemblies are loaded only as required.