Table of Contents

Class DatapointSourceAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Used to mark a field, property or method providing a set of datapoints to be used in executing any theories within the same fixture that require an argument of the Type provided. 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()