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

Represents a class that uses a MulticastDelegate to instantiate a service instance.
상속: IFactory
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

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

Instantiates the service type using the given delegate.

DelegateFactory ( MulticastDelegate targetDelegate ) : System

Initializes the class with the given targetDelegate

메소드 상세

CreateInstance() 공개 메소드

Instantiates the service type using the given delegate.
public CreateInstance ( IFactoryRequest request ) : object
request IFactoryRequest The that describes the service that needs to be created.
리턴 object

DelegateFactory() 공개 메소드

Initializes the class with the given targetDelegate
public DelegateFactory ( MulticastDelegate targetDelegate ) : System
targetDelegate System.MulticastDelegate The delegate that will be used to instantiate the factory.
리턴 System