ITypeConstructor

Ecng.Common

Provides a mechanism for creating instances of a type using specified constructor arguments.

メソッド

CreateInstance
public object CreateInstance(object[] args)
result = iTypeConstructor.CreateInstance(args)

Creates an instance of a type using the provided arguments.

args
An array of arguments to pass to the constructor.

戻り値: An instance of the type created.