PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Text­Log­Record­Builder Class/Text­Log­Record­Builder Methods/Text­Log­Record­Builder.​Get­Context­Description­Unsafe Method

TextLogRecordBuilder.GetContextDescriptionUnsafe Method

Note: This API is now obsolete.

Gets an UnsafeString representing the context Description or the TypeSource name, if the type of the context is not equal to the source type of the record.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
[ObsoleteAttribute("Use Context.Description.")]
protected UnsafeString GetContextDescriptionUnsafe()

Return Value

Type: UnsafeString
An UnsafeString.
See Also