[]
        
(Showing Draft Content)

C1.WPF.TypeEx.GetDefaultPublicCtor

GetDefaultPublicCtor Method

GetDefaultPublicCtor(Type)

Returns default public instance parameter-less constructor for the specified type.

Declaration
public static ConstructorInfo GetDefaultPublicCtor(this Type type)
Public Shared Function GetDefaultPublicCtor(type As Type) As ConstructorInfo
Parameters
Type Name Description
Type type

The type.

Returns
Type Description
ConstructorInfo

The default constructor for the specified type if it exists; Null otherwise.