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

IObjectFactory.CreateFactory Method 

Create a new IFactory instance for a given type

[Visual Basic]
Function CreateFactory( _
   ByVal Type As Type, _
   ByVal Type[] As Type() _
) As IFactory
[C#]
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 see cref="IFactory"/> instance

See Also

IObjectFactory Interface | IBatisNet.Common.Utilities.Objects Namespace