C# Class LinFu.IoC.FactoryExtensions

Extends the IFactory instance with a few helper methods.
显示文件 Open project: philiplaureano/LinFu

Public Methods

Method Description
CreateInstance ( this factory, Type serviceType, IServiceContainer container ) : object

Creates an object instance.

Method Details

CreateInstance() public static method

Creates an object instance.
public static CreateInstance ( this factory, Type serviceType, IServiceContainer container ) : object
factory this The target factory.
serviceType System.Type The requested service type.
container IServiceContainer The target service contaienr.
return object