DataProjectorToCustomClassTCreateNewInstance Method |
Creates a new instance of T with the ctor arguments specified.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax protected virtual T CreateNewInstance(
List<Object> ctorArguments
)
Protected Overridable Function CreateNewInstance (
ctorArguments As List(Of Object)
) As T
Parameters
- ctorArguments
- Type: System.Collections.GenericListObject
The ctor arguments, in the order expected by the constructor which info is obtainable through CTorInfoUsed.
Return Value
Type:
Tnew instance of T
Remarks override this routine to create instances faster than with Activator.CreateInstance
See Also