public AddTearDownAttribute ( |
||
tda | ||
return | void |
public void AddTearDownAttribute(TearDownAttribute tda)
{
if(this.tda == null)
{
this.tda = tda;
}
else
{
Trace.WriteLine("Multiple teardown methods are not allowed.");
}
}
public override void SelfRegister(TestFixture tf) { tf.AddTearDownAttribute(this); }