Assembly: MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public class FixtureInitializerAttribute : ContributionMethodPatternAttribute |
| Visual Basic (Declaration) |
|---|
Public Class FixtureInitializerAttribute _ Inherits ContributionMethodPatternAttribute |
Remarks
This attribute provides a mechanism for completing the initialization of a fixture if the work cannot be completed entirely within the constructor. For example, data binding might be used to set fields and property values of the fixture instance. Consequently post-construction initialization may be required.
FixtureInitializerAttribute allows initialization to occur earlier in the test lifecycle than FixtureSetUpAttribute.
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
System..::.Attribute
Gallio.Framework.Pattern..::.PatternAttribute
Gallio.Framework.Pattern..::.DecoratorPatternAttribute
Gallio.Framework.Pattern..::.ContributionMethodPatternAttribute
MbUnit.Framework..::.FixtureInitializerAttribute
