PostSharp 2023.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­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: 2023.0.3.0 (2023.0.3.0)
protected void AppendCommaConditional()
Call RequireComma() to append the comma even if this method is invoked for the first time.
See Also