Determines whether [has parameterless constructor] [the specified type].
Namespace:
FastMoq
Assembly:
FastMoq.Core (in FastMoq.Core.dll)
public bool HasParameterlessConstructor(
Type type,
bool nonPublic
)
Public Function HasParameterlessConstructor ( _
type As Type, _
nonPublic As Boolean _
) As Boolean
public:
bool^ HasParameterlessConstructor(
Type^ type,
bool^ nonPublic
)
Parameters
- type
- Type: Type
The type.
- nonPublic
- Type: Boolean
The non-public.
Return Value
Has the parameterless constructor.