An abstract base class for MbUnit attributes that contribute values to data sources along with metadata such a description or expected exception type.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.2.0.0 (3.2.570.0)

Syntax

C#
public abstract class DataAttribute : DataPatternAttribute
Visual Basic (Declaration)
Public MustInherit Class DataAttribute _
	Inherits DataPatternAttribute

Remarks

You may define a new data source by creating a subclass of this attribute and overriding PopulateDataSource(IPatternScope, DataSource, ICodeElementInfo).

Inheritance Hierarchy

See Also