Table of Contents

Class CompositeWorkItem.OneTimeTearDownWorkItem

Namespace
NUnit.Framework.Internal.Execution
Assembly
nunit.framework.dll

OneTimeTearDownWorkItem represents the cleanup and one-time teardown phase of a CompositeWorkItem

public class CompositeWorkItem.OneTimeTearDownWorkItem : WorkItem, IDisposable
Inheritance
CompositeWorkItem.OneTimeTearDownWorkItem
Implements
Inherited Members

Constructors

OneTimeTearDownWorkItem(CompositeWorkItem)

Construct a OneTimeTearDownWOrkItem wrapping a CompositeWorkItem

public OneTimeTearDownWorkItem(CompositeWorkItem originalItem)

Parameters

originalItem CompositeWorkItem

The CompositeWorkItem being wrapped

Properties

ExecutionStrategy

The ExecutionStrategy for use in running this work item

public override ParallelExecutionStrategy ExecutionStrategy { get; }

Property Value

ParallelExecutionStrategy

Name

The WorkItem name, overridden to indicate this is the teardown.

public override string Name { get; }

Property Value

string

Methods

Execute()

public override void Execute()

PerformWork()

PerformWork is not used in CompositeWorkItem

protected override void PerformWork()