<PackageReference Include="NUnit" Version="4.0.1" />

ParameterWrapper

public bool IsOptional { get; }

public IMethodInfo Method { get; }

public ParameterInfo ParameterInfo { get; }

public Type ParameterType { get; }

Gets the Type of the parameter

public ParameterWrapper(IMethodInfo method, ParameterInfo parameterInfo)

Construct a ParameterWrapper for a given method and parameter

public T[] GetCustomAttributes<T>(bool inherit)

Returns an array of custom attributes of the specified type applied to this method

public bool IsDefined<T>(bool inherit)

Gets a value indicating whether one or more attributes of the specified type are defined on the parameter.