TypeUtility.CanBeInstantiated

Declaration

public static bool CanBeInstantiated(Type type);

Parameters

type The type to query.

Returns

bool true if the given type is instantiatable.

Description

Returns true if the specified type is instantiatable.

Instantiatable is defined as either having a default or implicit constructor or having a registered instantiation method.


Declaration

public static bool CanBeInstantiated();

Returns

bool true if type T is instantiatable.

Description

Returns true if type T is instantiatable.

Instantiatable is defined as either having a default or implicit constructor or having a registered instantiation method.


Did you find this page useful? Please give it a rating: