C# 클래스 LinFu.IoC.CreatorFromInstance

Represents an ICreateInstance type that generates an object instance from an existing instance.
상속: ICreateInstance
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
CreateFrom ( IFactoryRequest factoryRequest, IFactory factory ) : object

Returns the object instance that given when the CreatorFromInstance class instance was initialized.

비공개 메소드들

메소드 설명
CreatorFromInstance ( object instance ) : LinFu.IoC.Interfaces

Initializes the class with the target instance.

메소드 상세

CreateFrom() 공개 메소드

Returns the object instance that given when the CreatorFromInstance class instance was initialized.
public CreateFrom ( IFactoryRequest factoryRequest, IFactory factory ) : object
factoryRequest IFactoryRequest The instance that describes the context of the service request.
factory IFactory The instance that will be used to instantiate the service type.
리턴 object