PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Enterprise­Library Namespace/Enterprise­Library­Logging­Type­Source Class/Enterprise­Library­Logging­Type­Source Methods/Enterprise­Library­Logging­Type­Source.​Get­Categories Method

EnterpriseLibraryLoggingTypeSource.GetCategories Method

Returns a list of strings composed that are used to populate the Categories property, unless the GetCategories function has been overwritten. The default behavior of GetCategories() is to return the current role, the full name of the current type, and the full name of all parent namespaces.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary
Assembly:  PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary (in PostSharp.Patterns.Diagnostics.Backends.EnterpriseLibrary.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public virtual IEnumerable<string> GetCategories()

Return Value

Type: IEnumerable<String>
A list of categories, as described above.
See Also