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

Represents a class that uses a MulticastDelegate to instantiate a service instance.
Наследование: IFactory
Показать файл Открыть проект

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

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