Table of Contents

Method GetData

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

GetData(MethodInfo, DisposalTracker)

Returns the data to be used to test the theory.

ValueTask<IReadOnlyCollection<ITheoryDataRow>> GetData(MethodInfo testMethod, DisposalTracker disposalTracker)

Parameters

testMethod MethodInfo

The test method the data attribute is attached to

disposalTracker

The disposal tracker used to dispose the data

Returns

ValueTask<IReadOnlyCollection<ITheoryDataRow>>