PostSharp6.4//API Reference/Post­Sharp.​Reflection Namespace/Parameter­Kind­Extensions Class

ParameterKindExtensions Class

Extensions for the ParameterKind class.
Inheritance Hierarchy
System.Object
  PostSharp.Reflection.ParameterKindExtensions

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public static class ParameterKindExtensions

The ParameterKindExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsByRefParameter
Determines whether a parameter of a given ParameterKind is passed by reference (but is not the return parameter).
Public methodStatic memberIsInputParameter
Determines whether a parameter of a given ParameterKind has a meaningful input value.
Public methodStatic memberIsOutputParameter
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).
Public methodStatic memberIsParameter
Determines whether a parameter is a "real" parameter, and not the return parameter.
Public methodStatic memberIsReturn
Determines whether a parameter of a given ParameterKind represents a return parameter.
See Also