MrKWatkins.Reflection 1.3.1 Help

DisplayNameFormatterOptions Record

Definition

Options for a DisplayNameFormatter.

public sealed record DisplayNameFormatterOptions : IEquatable<DisplayNameFormatterOptions>

Constructors

Properties

Name

Description

PrefixMembersWithType

Whether members should be prefixed with their type or not. Defaults to true.

UseCSharpKeywordsForPrimitiveTypes

Whether to use the C# keyword for primitive types rather than the type name, i.e. int instead of Int32. Defaults to false.

UseFullyQualifiedTypes

Whether types should be fully qualified with their namespace or not. Defaults to false.

UseQuestionMarksForNullableTypes

Whether question marks should be used to identify nullable types or not, i.e. int? instead of Nullable<T>. Defaults to true.

Last modified: 17 December 2024