C# Class Cedar.Core.IoC.ServiceLocatorFactory

This is the factory to create or get service locator.
Mostra file Open project: Chinaccn/surfboard

Public Methods

Method 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

Method Description
ConfigureServiceLocator ( IServiceLocator serviceLocator ) : IServiceLocator
InitializeResolvedAssemblies ( ) : List
ServiceLocatorFactory ( ) : System

TryParseAssemblyName ( string displayName, AssemblyName &assemblyName ) : bool

Method Details

AddResovledAssemblies() public static method

Adds the resovled assemblies.
public static AddResovledAssemblies ( ) : void
return void

GetServiceLocator() public static method

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

Reset() public static method

Clear all cached service locators.
public static Reset ( ) : void
return void