PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics/Logging­Namespace­Source/Name
Open sandboxFocus

Property Name


Gets the last component of the name of the type or namespace. For instance, when FullName is PostSharp.Patterns.Diagnostics.LoggingBackend, Name is LoggingBackend. For generic types, the Name property includes the arity, i.e. the name of List<T> is List`1. If this source is based on a source name rather than a type, this is the complete source name.

public string Name { get; }
Property Value
Type Description