Class AggregateMessageSink
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
An implementation of IMessageSink which dispatches messages to one or more individual message sinks.
public class AggregateMessageSink : IMessageSink, IAsyncDisposable
- Inheritance
-
AggregateMessageSink
- Implements
- Derived
- Inherited Members
Properties
- AggregatedSinks
The list of event dispatchers that are registered with the system.
Methods
- DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
- GetOrCreateAggregatedSink<TDispatcher>(ref TDispatcher?)
Gets a dispatcher, optionally creating and registering it if it doesn't exist.
- OnMessage(IMessageSinkMessage)
Reports the presence of a message on the message bus. This method should never throw exceptions.