C# 클래스 Catel.IoC.IoCFactory

Factory responsible for creating IoC components.
파일 보기 프로젝트 열기: Catel/Catel 1 사용 예제들

공개 메소드들

메소드 설명
CreateServiceLocator ( bool initializeServiceLocator = true ) : IServiceLocator

Creates a service locator with all the customized components.

비공개 메소드들

메소드 설명
IoCFactory ( ) : System

Initializes static members of the IoCFactory class.

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

Called when an assembly gets loaded.

메소드 상세

CreateServiceLocator() 공개 정적인 메소드

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.
리턴 IServiceLocator