IndentedStringBuilder.AppendLines(String, Boolean) Method

Definition

Separates the given string into lines, and then appends each line, prefixed by the current indent and followed by a new line, to the string being built.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder AppendLines (string value, bool skipFinalNewline = false);
abstract member AppendLines : string * bool -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
override this.AppendLines : string * bool -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
Public Overridable Function AppendLines (value As String, Optional skipFinalNewline As Boolean = false) As IndentedStringBuilder

Parameters

value
String

The string to append.

skipFinalNewline
Boolean

If true, then the terminating new line is not added after the last line.

Returns

This builder so that additional calls can be chained.

Applies to