PostSharp 6.5 / / Post­Sharp Documentation / 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: (
public virtual IEnumerable<string> GetCategories()

Return Value

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