Table of Contents

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:

[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:

Properties

Class

Gets the type of the class that provides the data.