Click or drag to resize

imbTypologyHelpershasParameterlessConstructor Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Determines whether Type has parameterless constructor

Namespace:  imbSCI.Core.extensions.typeworks
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool hasParameterlessConstructor(
	this Type type
)
Request Example View Source

Parameters

type
Type: SystemType
The type.

Return Value

Type: Boolean
true if [has parameterless constructor] [the specified type]; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also