ITypeConstructor

Ecng.Common

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

Methoden

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.

Rückgabe: An instance of the type created.