ShouldUseConstructorParameters(ShouldUseConstructorParametersArgs) Method
Returns true if args.ParameterType.ParameterType: 1. does not have a parameterless constructor 2. has a constructor 3. is not a value type 4. is not a primitive 5. is not an enum 6. is not an interface 7. TypeCode is an Object.

Syntax

public static bool ShouldUseConstructorParameters(ShouldUseConstructorParametersArgs args)

Parameters

Name Type Description
args ShouldUseConstructorParametersArgs

Return Value

Type Description
bool