Class ClassDataAttribute<TClass>
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
Provides a data source for a data theory, with the data coming from a class which must implement IEnumerable<object?[]>.
public class ClassDataAttribute<TClass> : ClassDataAttribute, IDataAttribute
Type Parameters
TClass
The class that provides the data.
- Inheritance
-
ClassDataAttribute<TClass>
- Implements
- Inherited Members
Remarks
.NET Framework does not support generic attributes. Please use the non-generic ClassDataAttribute when targeting .NET Framework.
Constructors
- ClassDataAttribute()
Provides a data source for a data theory, with the data coming from a class which must implement IEnumerable<object?[]>.