ParameterKindExtensions Class |
Extensions for the ParameterKind class.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static class ParameterKindExtensions
The ParameterKindExtensions type exposes the following members.
Name | Description | |
---|---|---|
IsByRefParameter |
Determines whether a parameter of a given ParameterKind is passed by reference (but is not the return parameter).
| |
IsInputParameter |
Determines whether a parameter of a given ParameterKind has a meaningful input value.
| |
IsOutputParameter |
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 |
Determines whether a parameter is a "real" parameter, and not the return parameter.
| |
IsReturn |
Determines whether a parameter of a given ParameterKind represents a return parameter.
|