Constructor DiagnosticMessage
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
DiagnosticMessage()
Creates a new instance of the DiagnosticMessage class.
public DiagnosticMessage()
DiagnosticMessage(string)
Creates a new instance of the DiagnosticMessage class with the provided message.
public DiagnosticMessage(string message)
Parameters
message
stringThe diagnostic message
DiagnosticMessage(string, object?)
Creates a new instance of the DiagnosticMessage class with the provided message format and single argument.
public DiagnosticMessage(string messageFormat, object? arg0)
Parameters
messageFormat
stringThe message format string
arg0
objectThe value to replace {0} in the format string.
DiagnosticMessage(string, object?, object?)
Creates a new instance of the DiagnosticMessage class with the provided message format and two arguments.
public DiagnosticMessage(string messageFormat, object? arg0, object? arg1)
Parameters
messageFormat
stringThe message format string
arg0
objectThe value to replace {0} in the format string.
arg1
objectThe value to replace {1} in the format string.
DiagnosticMessage(string, object?, object?, object?)
Creates a new instance of the DiagnosticMessage class with the provided message format and three arguments.
public DiagnosticMessage(string messageFormat, object? arg0, object? arg1, object? arg2)
Parameters
messageFormat
stringThe message format string
arg0
objectThe value to replace {0} in the format string.
arg1
objectThe value to replace {1} in the format string.
arg2
objectThe value to replace {2} in the format string.
DiagnosticMessage(string, params object?[])
Creates a new instance of the DiagnosticMessage class with the provided message format and multiple arguments.
public DiagnosticMessage(string messageFormat, params object?[] args)