IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Internal.ParameterWrapper Class Reference

The ParameterWrapper class wraps a ParameterInfo so that it may be used in a platform-independent manner. More...

+ Inheritance diagram for NUnit.Framework.Internal.ParameterWrapper:
+ Collaboration diagram for NUnit.Framework.Internal.ParameterWrapper:

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...
 
- Properties inherited from NUnit.Framework.Interfaces.IParameterInfo
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...
 

Detailed Description

The ParameterWrapper class wraps a ParameterInfo so that it may be used in a platform-independent manner.

Constructor & Destructor Documentation

NUnit.Framework.Internal.ParameterWrapper.ParameterWrapper ( IMethodInfo  method,
ParameterInfo  parameterInfo 
)
inline

Construct a ParameterWrapper for a given method and parameter

Parameters
method
parameterInfo

Member Function Documentation

T [] NUnit.Framework.Internal.ParameterWrapper.GetCustomAttributes< T > ( bool  inherit)
inline

Returns an array of custom attributes of the specified type applied to this method

Implements NUnit.Framework.Interfaces.IReflectionInfo.

Type Constraints
T :class 
bool NUnit.Framework.Internal.ParameterWrapper.IsDefined< T > ( bool  inherit)
inline

Gets a value indicating whether one or more attributes of the specified type are defined on the parameter.

Implements NUnit.Framework.Interfaces.IReflectionInfo.

Property Documentation

bool NUnit.Framework.Internal.ParameterWrapper.IsOptional
get

Gets a value indicating whether the parameter is optional

IMethodInfo NUnit.Framework.Internal.ParameterWrapper.Method
getprivate set

Gets an IMethodInfo representing the method for which this is a parameter.

ParameterInfo NUnit.Framework.Internal.ParameterWrapper.ParameterInfo
getprivate set

Gets the underlying ParameterInfo

Type NUnit.Framework.Internal.ParameterWrapper.ParameterType
get

Gets the Type of the parameter


The documentation for this class was generated from the following file: