Open sandboxFocus

Class ParameterKindExtensions

Extensions for the ParameterKind class.

Inheritance
ParameterKindExtensions
Namespace: PostSharp.Reflection
Assembly: PostSharp.dll
Syntax
public static class ParameterKindExtensions

Methods

Name Description
IsByRefParameter(ParameterKind)

Determines whether a parameter of a given ParameterKind is passed by reference (but is not the return parameter).

IsInputParameter(ParameterKind)

Determines whether a parameter of a given ParameterKind has a meaningful input value.

IsOutputParameter(ParameterKind)

Determines whether a parameter of a given ParameterKind has a meaningful output value (but is not the return parameter; in C#, that's ref and out parameters).

IsParameter(ParameterKind)

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

IsReturn(ParameterKind)

Determines whether a parameter of a given ParameterKind represents a return parameter.