Specifies a method that is to be invoked to set up the state of a fixture before any of its tests are executed.

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

Syntax

C#
public class FixtureSetUpAttribute : ContributionMethodPatternAttribute
Visual Basic (Declaration)
Public Class FixtureSetUpAttribute _
	Inherits ContributionMethodPatternAttribute

Remarks

The attribute may be applied to multiple methods within a fixture, however the order in which they are processed is undefined.

The method to which this attribute is applied must be declared by the fixture class and must not have any parameters. The method may be static.

Inheritance Hierarchy

See Also