<PackageReference Include="NUnit" Version="4.2.2" />

DatapointSourceAttribute

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.
using System; namespace NUnit.Framework { [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public class DatapointSourceAttribute : NUnitAttribute { } }