Table of Contents

Constructor ContextBase

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

ContextBase(ExplicitOption, IMessageBus, ExceptionAggregator, CancellationTokenSource)

Base class for all execution pipeline context classes.

public ContextBase(ExplicitOption explicitOption, IMessageBus messageBus, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource)

Parameters

explicitOption

The user's choice on how to treat explicit tests

messageBus

The message bus to send execution messages to

aggregator

The exception aggregator

cancellationTokenSource CancellationTokenSource

The cancellation token source