C# 클래스 LinFu.IoC.BaseFactoryStorage

Represents the default base implementation of the IFactoryStorage class.
상속: IFactoryStorage
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
AddFactory ( IServiceInfo serviceInfo, IFactory factory ) : void

Adds a IFactory to the current IFactoryStorage object.

ContainsFactory ( IServiceInfo serviceInfo ) : bool

Determines whether or not a factory exists in storage.

GetFactory ( IServiceInfo serviceInfo ) : IFactory

Determines which factories should be used for a particular service request.

메소드 상세

AddFactory() 공개 메소드

Adds a IFactory to the current IFactoryStorage object.
public AddFactory ( IServiceInfo serviceInfo, IFactory factory ) : void
serviceInfo IServiceInfo The object that describes the target factory.
factory IFactory The instance that will create the object instance.
리턴 void

ContainsFactory() 공개 메소드

Determines whether or not a factory exists in storage.
public ContainsFactory ( IServiceInfo serviceInfo ) : bool
serviceInfo IServiceInfo The object that describes the target factory.
리턴 bool

GetFactory() 공개 메소드

Determines which factories should be used for a particular service request.
public GetFactory ( IServiceInfo serviceInfo ) : IFactory
serviceInfo IServiceInfo The object that describes the target factory.
리턴 IFactory