Langue

CombinatorialDataAttribute.GetDisplayName(MethodInfo, Object[]) Méthode

Définition

Obtient le nom d’affichage correspondant à la ligne de données de test pour l’affichage dans TestResults.

public string? GetDisplayName(System.Reflection.MethodInfo methodInfo, object?[]? data);
abstract member GetDisplayName : System.Reflection.MethodInfo * obj[] -> string
override this.GetDisplayName : System.Reflection.MethodInfo * obj[] -> string
Public Function GetDisplayName (methodInfo As MethodInfo, data As Object()) As String

Paramètres

methodInfo
MethodInfo

Informations sur la méthode de test.

data
Object[]

Données de test passées à la méthode de test.

Retours

Le String.

Implémente

S’applique à