Class IndentStringBuilder
Provides a tool to build strings by adding indented lines.
Inheritance
System.Object
IndentStringBuilder
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 |
---|---|
System.Int32 | 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 |
---|---|---|
System.String | value | The string to add. |
ToString()
Gets the result string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The result string. |
Overrides
System.Object.ToString()