C# 클래스 LinFu.IoC.Factories.LazyFactory

Represents an IFactory class that instantiates a factory only on request.
상속: IFactory
파일 보기 프로젝트 열기: philiplaureano/LinFu 1 사용 예제들

공개 메소드들

메소드 설명
CreateInstance ( IFactoryRequest request ) : object

Instantiates the actual factory instance and uses it to instantiate the target service type.

LazyFactory ( IFactory>.Func getFactory ) : System

Instantiates the class with the factory functor method.

메소드 상세

CreateInstance() 공개 메소드

Instantiates the actual factory instance and uses it to instantiate the target service type.
public CreateInstance ( IFactoryRequest request ) : object
request IFactoryRequest The that describes the service to be created.
리턴 object

LazyFactory() 공개 메소드

Instantiates the class with the factory functor method.
public LazyFactory ( IFactory>.Func getFactory ) : System
getFactory IFactory>.Func The functor that will be responsible for instantiating the actual factory.
리턴 System