PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Namespace­SourceDisplay­Name
Open sandboxFocus

LoggingNamespaceSource.DisplayName Property

DisplayName

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.

Declaration
public string DisplayName { get; }
Property Value
Type Description
System.String