Table of Contents

Class SilentReporterMessageHandler

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

An implementation of IRunnerReporterMessageHandler that supports SilentReporter.

public sealed class SilentReporterMessageHandler : IRunnerReporterMessageHandler, IMessageSink, IAsyncDisposable
Inheritance
SilentReporterMessageHandler
Implements
Inherited Members

Methods

DisposeAsync()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

public ValueTask DisposeAsync()

Returns

ValueTask

OnMessage(IMessageSinkMessage)

Reports the presence of a message on the message bus. This method should never throw exceptions.

public bool OnMessage(IMessageSinkMessage message)

Parameters

message IMessageSinkMessage

The message from the message bus

Returns

bool

Return true to continue running tests, or false to stop.