PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Namespace­Source Class / Logging­Namespace­Source Properties / Logging­Namespace­Source.​Display­Name Property

LoggingNamespaceSource.DisplayName Property

Gets the last component of the name of the type or namespace, in the form that should be reported to the log. For generic types, the DisplayName property does not include the arity, i.e. the name of List<T> is List. If this source is based on a source name rather than a type, this is the complete source name.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
public string DisplayName { get; }

Property Value

Type: String
See Also