iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

FactoryBuilder.CreateFactory Method 

Create a factory which build class of type typeToCreate

[Visual Basic]
Public Function CreateFactory( _
   ByVal Type As Type, _
   ByVal Type[] As Type() _
) As IFactory
[C#]
public IFactory CreateFactory(
   Type typeToCreate,
   Type[] types
);

Parameters

typeToCreate
The type instance to build
types
The types of the constructor arguments

Return Value

Returns a new IFactory instance.

See Also

FactoryBuilder Class | IBatisNet.Common.Utilities.Objects Namespace