PostSharpAPI ReferencePost­Sharp.​ReflectionParameter­Kind­ExtensionsIs­Parameter
Open sandboxFocus

ParameterKindExtensions.IsParameter Method

IsParameter(ParameterKind)

Determines whether a parameter is a "real" parameter, and not the return parameter.

Declaration
public static bool IsParameter(this ParameterKind parameterKind)
Parameters
Type Name Description
ParameterKind parameterKind
Returns
Type Description
Boolean

true if parameterKind equals to InValue, ByRefIn, ByRefOut or ByRefInOut, otherwise false.