C# Класс PclUnit.Style.Nunit.ValuesAttribute

Наследование: ParameterDataAttribute
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
data object[]

Открытые методы

Метод Описание
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

Описание методов

GetData() публичный Метод

Get the collection of values to be used as arguments
public GetData ( ParameterInfo parameter ) : IEnumerable
parameter System.Reflection.ParameterInfo
Результат IEnumerable

ValuesAttribute() публичный Метод

Construct with an array of arguments
public ValuesAttribute ( ) : System
Результат System

ValuesAttribute() публичный Метод

Construct with one argument
public ValuesAttribute ( object arg1 ) : System
arg1 object
Результат System

ValuesAttribute() публичный Метод

Construct with two arguments
public ValuesAttribute ( object arg1, object arg2 ) : System
arg1 object
arg2 object
Результат System

ValuesAttribute() публичный Метод

Construct with three arguments
public ValuesAttribute ( object arg1, object arg2, object arg3 ) : System
arg1 object
arg2 object
arg3 object
Результат System

Описание свойств

data защищенное свойство

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
Результат object[]