C# Class Cedar.Core.IoC.ServiceLocatorFactory

This is the factory to create or get service locator.
Afficher le fichier Open project: Chinaccn/surfboard

Méthodes publiques

Méthode Description
AddResovledAssemblies ( ) : void

Adds the resovled assemblies.

GetServiceLocator ( string name = null ) : IServiceLocator

Gets the service locator.

Reset ( ) : void

Clear all cached service locators.

Private Methods

Méthode Description
ConfigureServiceLocator ( IServiceLocator serviceLocator ) : IServiceLocator
InitializeResolvedAssemblies ( ) : List
ServiceLocatorFactory ( ) : System

TryParseAssemblyName ( string displayName, AssemblyName &assemblyName ) : bool

Method Details

AddResovledAssemblies() public static méthode

Adds the resovled assemblies.
public static AddResovledAssemblies ( ) : void
Résultat void

GetServiceLocator() public static méthode

Gets the service locator.
public static GetServiceLocator ( string name = null ) : IServiceLocator
name string The name.
Résultat IServiceLocator

Reset() public static méthode

Clear all cached service locators.
public static Reset ( ) : void
Résultat void