Specifies a factory member that will provide values for a data-driven test.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)

Syntax

C#
public class FactoryAttribute : DataPatternAttribute
Visual Basic (Declaration)
Public Class FactoryAttribute _
	Inherits DataPatternAttribute

Remarks

The factory may be an instance or static member of the fixture class or a static member of some other class.

Refer to FactoryDataSet and FactoryKind for more information about how the factory data set works and the kinds of factories that are supported.

Inheritance Hierarchy

See Also