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