SyntaxGeneratorTemplateWriteWithLineBreakIfNeeded Method
This is used to write a string followed by an optional line break if needed (the writer position is
past the maximum position afterwards).
Namespace: Sandcastle.Core.BuildAssembler.SyntaxGeneratorAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static bool WriteWithLineBreakIfNeeded(
SyntaxWriter writer,
string text,
string indent
)
Public Shared Function WriteWithLineBreakIfNeeded (
writer As SyntaxWriter,
text As String,
indent As String
) As Boolean
public:
static bool WriteWithLineBreakIfNeeded(
SyntaxWriter^ writer,
String^ text,
String^ indent
)
static member WriteWithLineBreakIfNeeded :
writer : SyntaxWriter *
text : string *
indent : string -> bool
- writer SyntaxWriter
- The syntax writer to use
- text String
- An optional text string to write before the new line
- indent String
- An optional indent to write after the line break
BooleanTrue if a new line was written, false if not