C# Класс PclUnit.Style.Xunit.PropertyDataAttribute

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

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

Метод Описание
GetData ( MethodInfo methodUnderTest, Type parameterTypes ) : IEnumerable

Returns the data to be used to test the theory.

PropertyDataAttribute ( string propertyName ) : System

Creates a new instance of PropertyDataAttribute/

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

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

Returns the data to be used to test the theory.
public GetData ( MethodInfo methodUnderTest, Type parameterTypes ) : IEnumerable
methodUnderTest System.Reflection.MethodInfo The method that is being tested
parameterTypes System.Type The types of the parameters for the test method
Результат IEnumerable

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

Creates a new instance of PropertyDataAttribute/
public PropertyDataAttribute ( string propertyName ) : System
propertyName string The name of the public static property on the test class that will provide the test data
Результат System