Table of Contents

Class DatapointSourceAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Marks a field, property or method as providing a set of datapoints for use in executing any theories within the same fixture that require an argument of the provided type. The data source may provide an array of the required Type or an IEnumerable<T>. Synonymous with DatapointsAttribute.

[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class DatapointSourceAttribute : NUnitAttribute
Inheritance
DatapointSourceAttribute
Derived
Inherited Members

Constructors

DatapointSourceAttribute()

public DatapointSourceAttribute()