Specifies a method that is to be invoked to tear down the state of a fixture after all of its tests have been executed.

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

Syntax

C#
public class FixtureTearDownAttribute : ContributionMethodPatternAttribute
Visual Basic (Declaration)
Public Class FixtureTearDownAttribute _
	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