Class IndentStringBuilder
Provides a tool to build strings by adding indented lines.
Namespace: AlchemyBow.Core.Editor.Utilities
Assembly: AlchemyBow.Core.Editor.dll
Syntax
public sealed class IndentStringBuilder
Properties
IndentLevel
The current indent level.
Declaration
public int IndentLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The current indent level. |
Methods
AppendLine()
Adds the default line terminator.
Declaration
public void AppendLine()
AppendLine(string)
Adds the specified string and the default line terminator.
Declaration
public void AppendLine(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The string to add. |
ToString()
Gets the result string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The result string. |
Overrides
object.ToString()