Table of Contents

Method CreateViaDefaultConstructor

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

CreateViaDefaultConstructor<T>()

Creates the specified type via default parameterless constructor.

public static T CreateViaDefaultConstructor<T>()

Returns

T

Type Parameters

T

Type of the object to create.

Exceptions

MissingMemberException

Raised when type does not have a public, parameterless constructor.