C# Class Catel.IoC.IoCFactory

Factory responsible for creating IoC components.
Show file Open project: Catel/Catel Class Usage Examples

Public Methods

Method Description
CreateServiceLocator ( bool initializeServiceLocator = true ) : IServiceLocator

Creates a service locator with all the customized components.

Private Methods

Method Description
IoCFactory ( ) : System

Initializes static members of the IoCFactory class.

OnAssemblyLoaded ( object sender, Catel.Reflection.AssemblyLoadedEventArgs e ) : void

Called when an assembly gets loaded.

Method Details

CreateServiceLocator() public static method

Creates a service locator with all the customized components.
public static CreateServiceLocator ( bool initializeServiceLocator = true ) : IServiceLocator
initializeServiceLocator bool if set to true, the will be initialized using the interface.
return IServiceLocator