IndentedStringBuilder.AppendLine Method

Definition

Overloads

AppendLine(String)

Appends the current indent, the given string, and a new line to the string being built.

AppendLine(FormattableString)

Appends the current indent, the given string, and a new line to the string being built.

AppendLine()

Appends a new line to the string being built.

AppendLine(String)

Appends the current indent, the given string, and a new line to the string being built.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder AppendLine (string value);
abstract member AppendLine : string -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
override this.AppendLine : string -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
Public Overridable Function AppendLine (value As String) As IndentedStringBuilder

Parameters

value
String

The string to append.

Returns

This builder so that additional calls can be chained.

Remarks

If the given string itself contains a new line, the part of the string after that new line will not be indented.

Applies to

AppendLine(FormattableString)

Appends the current indent, the given string, and a new line to the string being built.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder AppendLine (FormattableString value);
abstract member AppendLine : FormattableString -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
override this.AppendLine : FormattableString -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
Public Overridable Function AppendLine (value As FormattableString) As IndentedStringBuilder

Parameters

value
FormattableString

The string to append.

Returns

This builder so that additional calls can be chained.

Applies to

AppendLine()

Appends a new line to the string being built.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder AppendLine ();
abstract member AppendLine : unit -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
override this.AppendLine : unit -> Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder
Public Overridable Function AppendLine () As IndentedStringBuilder

Returns

This builder so that additional calls can be chained.

Applies to