Table of Contents

Class DatapointsAttribute

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 DatapointSourceAttribute.

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

Constructors

DatapointsAttribute()

public DatapointsAttribute()