Interface IParameterInfo
The IParameterInfo interface is an abstraction of a .NET parameter.
Namespace: NUnit.Framework.Interfaces
Assembly: nunit.framework.dll
Syntax
public interface IParameterInfo : IReflectionInfo
Properties
View SourceIsOptional
Gets a value indicating whether the parameter is optional
Declaration
bool IsOptional { get; }
Property Value
Type | Description |
---|---|
bool |
Method
Gets an IMethodInfo representing the method for which this is a parameter
Declaration
IMethodInfo Method { get; }
Property Value
Type | Description |
---|---|
IMethodInfo |
ParameterInfo
Gets the underlying .NET ParameterInfo
Declaration
ParameterInfo ParameterInfo { get; }
Property Value
Type | Description |
---|---|
ParameterInfo |
ParameterType
Gets the Type of the parameter
Declaration
Type ParameterType { get; }
Property Value
Type | Description |
---|---|
Type |