Table of Contents

Method HasConstructorNoParams

Namespace
Alternet.Common
Assembly
Alternet.Common.v10.dll

HasConstructorNoParams(Type)

Determines whether the specified type has a parameterless constructor.

public static bool HasConstructorNoParams(Type type)

Parameters

type Type

The Type to check for a parameterless constructor.

Returns

bool

true if the specified type has a parameterless constructor; otherwise, false.