PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace / Text­Log­Record­Builder Class / Text­Log­Record­Builder Methods / Text­Log­Record­Builder.​Append­Context­Description Method

TextLogRecordBuilder.AppendContextDescription Method

Appends the context Description (or the TypeSource name, if the type of the context is not equal to the source type of the record) to the current StringBuilder.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: (
protected virtual bool AppendContextDescription()

Return Value

Type: Boolean
true if the context description was non-empty, false if it was empty.
See Also