Skip to content

DisplayNameFormatter Class ​

Definition ​

Formats reflection types into a human readable display name.

c#
public sealed class DisplayNameFormatter : ReflectionFormatter, IReflectionFormatter

View source

Constructors ​

NameDescription
DisplayNameFormatter()Initialises a new instance of the DisplayNameFormatter class using default options.
DisplayNameFormatter(DisplayNameFormatterOptions)Initialises a new instance of the DisplayNameFormatter class with the specified options.

Methods ​

NameDescription
Format(TextWriter, ConstructorInfo)Formats the specified ConstructorInfo.
Format(TextWriter, EventInfo)Formats the specified EventInfo.
Format(TextWriter, FieldInfo)Formats the specified FieldInfo.
Format(TextWriter, MethodInfo)Formats the specified MethodInfo.
Format(TextWriter, PropertyInfo)Formats the specified PropertyInfo.
Format(TextWriter, Type)Formats the specified Type.
FormatNamespace(TextWriter, String)Formats the specified namespace.