Class InternalDiagnosticMessage
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
Default implementation of IInternalDiagnosticMessage.
[JsonTypeID("internal-diagnostic")]
public sealed class InternalDiagnosticMessage : MessageSinkMessage, IJsonDeserializable, IInternalDiagnosticMessage, IMessageSinkMessage, IJsonSerializable
- Inheritance
-
InternalDiagnosticMessage
- Implements
- Inherited Members
- Extension Methods
-
Xunit.Sdk.MessageSinkMessageExtensions.DispatchWhen``1(Xunit.Sdk.IMessageSinkMessage,Xunit.Runner.Common.MessageHandler{``0})
Constructors
- InternalDiagnosticMessage()
Creates a new instance of the InternalDiagnosticMessage class.
- InternalDiagnosticMessage(string)
Creates a new instance of the InternalDiagnosticMessage class with the provided message.
- InternalDiagnosticMessage(string, object?)
Creates a new instance of the InternalDiagnosticMessage class with the provided message format and single argument.
- InternalDiagnosticMessage(string, object?, object?)
Creates a new instance of the InternalDiagnosticMessage class with the provided message format and two arguments.
- InternalDiagnosticMessage(string, object?, object?, object?)
Creates a new instance of the InternalDiagnosticMessage class with the provided message format and three arguments.
- InternalDiagnosticMessage(string, params object?[])
Creates a new instance of the InternalDiagnosticMessage class with the provided message format and multiple arguments.
Properties
- Message
Gets the internal diagnostic message.
Methods
- Deserialize(IReadOnlyDictionary<string, object?>)
Override to deserialize the values in the dictionary into the message.
- Serialize(JsonObjectSerializer)
Override to serialize the values in the message into JSON.