IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
The ParameterWrapper class wraps a ParameterInfo so that it may be used in a platform-independent manner. More...
Public Member Functions | |
ParameterWrapper (IMethodInfo method, ParameterInfo parameterInfo) | |
Construct a ParameterWrapper for a given method and parameter More... | |
T[] | GetCustomAttributes< T > (bool inherit) |
Returns an array of custom attributes of the specified type applied to this method More... | |
bool | IsDefined< T > (bool inherit) |
Gets a value indicating whether one or more attributes of the specified type are defined on the parameter. More... | |
Properties | |
bool | IsOptional [get] |
Gets a value indicating whether the parameter is optional More... | |
IMethodInfo | Method [get, private set] |
Gets an IMethodInfo representing the method for which this is a parameter. More... | |
ParameterInfo | ParameterInfo [get, private set] |
Gets the underlying ParameterInfo More... | |
Type | ParameterType [get] |
Gets the Type of the parameter More... | |
![]() | |
bool | IsOptional [get] |
Gets a value indicating whether the parameter is optional More... | |
IMethodInfo | Method [get] |
Gets an IMethodInfo representing the method for which this is a parameter More... | |
ParameterInfo | ParameterInfo [get] |
Gets the underlying .NET ParameterInfo More... | |
Type | ParameterType [get] |
Gets the Type of the parameter More... | |
The ParameterWrapper class wraps a ParameterInfo so that it may be used in a platform-independent manner.
|
inline |
Construct a ParameterWrapper for a given method and parameter
method | |
parameterInfo |
|
inline |
Returns an array of custom attributes of the specified type applied to this method
Implements NUnit.Framework.Interfaces.IReflectionInfo.
T | : | class |
|
inline |
Gets a value indicating whether one or more attributes of the specified type are defined on the parameter.
Implements NUnit.Framework.Interfaces.IReflectionInfo.
|
get |
Gets a value indicating whether the parameter is optional
|
getprivate set |
Gets an IMethodInfo representing the method for which this is a parameter.
|
getprivate set |
Gets the underlying ParameterInfo
|
get |
Gets the Type of the parameter