Class DisplayNameFormatter
Represents a formatter that formats the display name of a class and/or method into a more human readable form using additional options.
public class DisplayNameFormatter
- Inheritance
-
DisplayNameFormatter
- Inherited Members
Constructors
DisplayNameFormatter()
Initializes a new instance of the DisplayNameFormatter class.
public DisplayNameFormatter()
DisplayNameFormatter(TestMethodDisplay, TestMethodDisplayOptions)
Initializes a new instance of the DisplayNameFormatter class.
public DisplayNameFormatter(TestMethodDisplay display, TestMethodDisplayOptions displayOptions)
Parameters
displayTestMethodDisplayThe TestMethodDisplay used by the formatter.
displayOptionsTestMethodDisplayOptionsThe TestMethodDisplayOptions used by the formatter.
Methods
Format(string)
Formats the specified display name.
public string Format(string displayName)
Parameters
displayNamestringThe display name to format.
Returns
- string
The formatted display name.