Class MessageSinkMessageExtensions
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.runner.common.dll
Extension methods for IMessageSinkMessage.
public static class MessageSinkMessageExtensions
- Inheritance
-
MessageSinkMessageExtensions
- Inherited Members
Methods
- DispatchWhen<TMessage>(IMessageSinkMessage, MessageHandler<TMessage>?)
Handles a message of a specific type by testing it for the type, as well as verifying that there is a registered callback.
- ToTestCaseDiscovered(ITestCase)
Converts an instance of ITestCase into ITestCaseDiscovered for reporting back to a remote meta-runner.
- WithSourceInfo(ITestCaseDiscovered, string?, int?)
Creates a new ITestCaseDiscovered, replacing the source file and line number information with the provided values.