C# Class PclUnit.Style.Nunit.ValuesAttribute

Inheritance: ParameterDataAttribute
Datei anzeigen Open project: jbtule/PclUnit

Protected Properties

Property Type Description
data object[]

Public Methods

Method Description
GetData ( ParameterInfo parameter ) : IEnumerable

Get the collection of values to be used as arguments

ValuesAttribute ( ) : System

Construct with an array of arguments

ValuesAttribute ( object arg1 ) : System

Construct with one argument

ValuesAttribute ( object arg1, object arg2 ) : System

Construct with two arguments

ValuesAttribute ( object arg1, object arg2, object arg3 ) : System

Construct with three arguments

Method Details

GetData() public method

Get the collection of values to be used as arguments
public GetData ( ParameterInfo parameter ) : IEnumerable
parameter System.Reflection.ParameterInfo
return IEnumerable

ValuesAttribute() public method

Construct with an array of arguments
public ValuesAttribute ( ) : System
return System

ValuesAttribute() public method

Construct with one argument
public ValuesAttribute ( object arg1 ) : System
arg1 object
return System

ValuesAttribute() public method

Construct with two arguments
public ValuesAttribute ( object arg1, object arg2 ) : System
arg1 object
arg2 object
return System

ValuesAttribute() public method

Construct with three arguments
public ValuesAttribute ( object arg1, object arg2, object arg3 ) : System
arg1 object
arg2 object
arg3 object
return System

Property Details

data protected_oe property

The collection of data to be returned. Must be set by any derived attribute classes. We use an object[] so that the individual elements may have their type changed in GetData if necessary.
protected object[] data
return object[]