Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

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:'a option -> f:('a -> string) -> builder:StringBuilder -> StringBuilder
Type parameters: 'a

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:'?19016 -> string -> StringBuilder -> StringBuilder
Type parameters: '?19016

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:'a list -> action:('a -> 'b -> StringBuilder -> 'c) -> text:'b -> builder:StringBuilder -> StringBuilder
Type parameters: 'a, 'b, 'c

Applies action on builder for each element of list.

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

Returns the text from the StringBuilder