Table of Contents

Enum TypeNameFlags

Namespace
Zyl.ExSpans.Reflection
Assembly
ExSpans.Core.dll

Flags for type name (类型名的标志).

[Flags]
public enum TypeNameFlags
Extension Methods

Fields

Default = 0

Default (默认).

NoKeyword = 2

Do not use keyword type names. For example, instead of long, use Int64 (不使用关键字类型名. 例如不使用 long, 而是使用 Int64).

Raw = 1

Raw type name (原始类型名). Returns Type.FullName or Type.Name.

ShowNamespace = 8

Show namespace (显示名称空间).

ShowNullable = 4

Show Nullable<T>. When false, it will be displayed as T? (显示 Nullable<T>. 为 false 时会显示成 T?).

SubShowNamespace = 16

Whether generic subtypes show namespaces (泛型子类型是否显示名称空间).