PostSharp 6.5 / / 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­Comma­Conditional Method

TextLogRecordBuilder.AppendCommaConditional Method

Appends a comma to the current StringBuilder, unless this method is invoked for the first time for the current record.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.5.15.0 (6.5.15.0)
Syntax
C#
protected void AppendCommaConditional()
Remarks
Call RequireComma() to append the comma even if this method is invoked for the first time.
See Also