C# Класс LinFu.IoC.Factories.LazyFactory

Represents an IFactory class that instantiates a factory only on request.
Наследование: IFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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