Table of Contents

Class DatapointsAttribute

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

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

Constructors

DatapointsAttribute()

public DatapointsAttribute()