Table of Contents

Interface ITypeConstructor

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

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

public interface ITypeConstructor
Extension Methods

Methods

CreateInstance(object[])

Creates an instance of a type using the provided arguments.

object CreateInstance(object[] args)

Parameters

args object[]

An array of arguments to pass to the constructor.

Returns

object

An instance of the type created.