C# Class Catel.IoC.IoCFactory

Factory responsible for creating IoC components.
Afficher le fichier Open project: Catel/Catel Class Usage Examples

Méthodes publiques

Méthode Description
CreateServiceLocator ( bool initializeServiceLocator = true ) : IServiceLocator

Creates a service locator with all the customized components.

Private Methods

Méthode 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 méthode

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.
Résultat IServiceLocator