This is part of the Fake.Core.String module.

StringBuilder

Nested types and modules

TypeDescription
String
StringBuilder

Functions and values

Function or valueDescription
StringBuilder.append text builder
Signature: text:string -> builder:StringBuilder -> StringBuilder

Appends a text to a StringBuilder.

StringBuilder.appendFileNamesIfNotNull(...)
Signature: fileNames:seq<string> -> builder:StringBuilder -> StringBuilder

Appends all notnull fileNames.

StringBuilder.appendIfFalse(p)
Signature: p:bool -> string -> StringBuilder -> StringBuilder

Appends a text if the predicate is false.

StringBuilder.appendIfNotNull value s
Signature: value:Object -> s:string -> StringBuilder -> StringBuilder

Appends a text if the value is not null.

StringBuilder.appendIfNotNullOrEmpty(...)
Signature: value:string -> s:string -> StringBuilder -> StringBuilder

Appends a text if the value is not null or empty.

StringBuilder.appendIfSome o f builder
Signature: o:'?9406 option -> f:('?9406 -> string) -> builder:StringBuilder -> StringBuilder
Type parameters: '?9406

Appends string of function value if option has some value

StringBuilder.appendIfTrue p s builder
Signature: p:bool -> s:string -> builder:StringBuilder -> StringBuilder

Appends a text if the predicate is true.

StringBuilder.appendIfTrueWithoutQuotes(...)
Signature: p:bool -> s:string -> builder:StringBuilder -> StringBuilder
StringBuilder.appendQuotedIfNotNull(...)
Signature: value:Object -> s:string -> builder:StringBuilder -> StringBuilder

Appends a quoted text if the value is not null.

StringBuilder.appendStringIfValueIsNotNull(...)
Signature: value:'?9414 -> string -> StringBuilder -> StringBuilder
Type parameters: '?9414

Appends a text if the value is not null.

StringBuilder.appendStringIfValueIsNotNullOrEmpty(...)
Signature: value:string -> string -> StringBuilder -> StringBuilder

Appends a text if the value is not null or empty.

StringBuilder.appendWithoutQuotes(...)
Signature: text:string -> builder:StringBuilder -> StringBuilder

Appends a text to a StringBuilder without surrounding quotes.

StringBuilder.appendWithoutQuotesIfNotNull(...)
Signature: value:Object -> s:string -> StringBuilder -> StringBuilder

Appends a text without quoting if the value is not null.

StringBuilder.forEach(...)
Signature: items:'?9419 list -> action:('?9419 -> '?9420 -> StringBuilder -> '?9421) -> text:'?9420 -> builder:StringBuilder -> StringBuilder
Type parameters: '?9419, '?9420, '?9421

Applies action on builder for each element of list.

StringBuilder.toText(builder)
Signature: builder:StringBuilder -> string

Returns the text from the StringBuilder