Table of Contents

Class MessageHandlerArgs<TMessage>

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

Wraps a message with the ability to cancel execution.

public class MessageHandlerArgs<TMessage> : MessageHandlerArgs where TMessage : IMessageSinkMessage

Type Parameters

TMessage

The type of the message to be handled.

Inheritance
MessageHandlerArgs<TMessage>
Inherited Members

Constructors

MessageHandlerArgs(TMessage)

Wraps a message with the ability to cancel execution.

public MessageHandlerArgs(TMessage message)

Parameters

message TMessage

The message to be handled.

Properties

Message

Gets the message.

public TMessage Message { get; }

Property Value

TMessage