Table of Contents

Method FormatConstructorArgsMissingMessage

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

FormatConstructorArgsMissingMessage(TContext, ConstructorInfo, IReadOnlyList<Tuple<int, ParameterInfo>>)

Gets the message to be used when the constructor is missing arguments.

[Obsolete("This is no longer called, as the type activator is responsible for resolving missing values. It will be removed in the next major version.")]
protected virtual string FormatConstructorArgsMissingMessage(TContext ctxt, ConstructorInfo constructor, IReadOnlyList<Tuple<int, ParameterInfo>> unusedArguments)

Parameters

ctxt TContext

The context that describes the current test class

constructor ConstructorInfo

The constructor that was selected

unusedArguments IReadOnlyList<Tuple<int, ParameterInfo>>

The arguments that had no matching parameter values

Returns

string