Class ClassDataAttribute
- Namespace
- Xunit
- Assembly
- xunit.v3.core.aot.dll
Provides a data source for a data theory, with the data coming from a class which must implement IEnumerable<T> or IAsyncEnumerable<T> of one of:
object?[]ITheoryDataRowSystem.Runtime.CompilerServices.ITuple
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public sealed class ClassDataAttribute : DataAttribute
- Inheritance
-
ClassDataAttribute
- Inherited Members
Constructors
- ClassDataAttribute(Type)
Provides a data source for a data theory, with the data coming from a class which must implement IEnumerable<T> or IAsyncEnumerable<T> of one of:
object?[]ITheoryDataRowSystem.Runtime.CompilerServices.ITuple
Properties
- Class
Gets the type of the class that provides the data.