C# Класс LinFu.IoC.CreatorFromInstance

Represents an ICreateInstance type that generates an object instance from an existing instance.
Наследование: ICreateInstance
Показать файл Открыть проект

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

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