s&box docs
API ReferenceSandbox.Internal

public sealed class Sandbox.Internal.SafeStringBuilder

Calls to `new StringBuilder()` in addon code will map to this class. You can use it directly but you probably shouldn't.

Constructors

Showing 6 constructors

Methods

Showing 67 methods

public int EnsureCapacity(int capacity)

Properties

Showing 4 properties

Metadata

FieldValue
NamespaceSandbox.Internal
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.Internal.SafeStringBuilder

On this page

Constructorspublic SafeStringBuilder()public SafeStringBuilder(System.Int32 capacity, System.Int32 maxCapacity)public SafeStringBuilder(System.Int32 capacity)public SafeStringBuilder(System.String value, System.Int32 startIndex, System.Int32 length, System.Int32 capacity)public SafeStringBuilder(System.String value, System.Int32 capacity)public SafeStringBuilder(System.String value)Methodspublic Sandbox.Internal.SafeStringBuilder Append(Sandbox.Internal.SafeStringBuilder value)public Sandbox.Internal.SafeStringBuilder Append(System.Boolean value)public Sandbox.Internal.SafeStringBuilder Append(System.Byte value)public Sandbox.Internal.SafeStringBuilder Append(System.Char value, System.Int32 repeatCount)public Sandbox.Internal.SafeStringBuilder Append(System.Char value)public Sandbox.Internal.SafeStringBuilder Append(System.Char[] value, System.Int32 startIndex, System.Int32 charCount)public Sandbox.Internal.SafeStringBuilder Append(System.Char[] value)public Sandbox.Internal.SafeStringBuilder Append(System.Decimal value)public Sandbox.Internal.SafeStringBuilder Append(System.Double value)public Sandbox.Internal.SafeStringBuilder Append(System.Int16 value)public Sandbox.Internal.SafeStringBuilder Append(System.Int32 value)public Sandbox.Internal.SafeStringBuilder Append(System.Int64 value)public Sandbox.Internal.SafeStringBuilder Append(System.Object value)public Sandbox.Internal.SafeStringBuilder Append(System.ReadOnlyMemory`1<System.Char> value)public Sandbox.Internal.SafeStringBuilder Append(System.ReadOnlySpan`1<System.Char> value)public Sandbox.Internal.SafeStringBuilder Append(System.SByte value)public Sandbox.Internal.SafeStringBuilder Append(System.Single value)public Sandbox.Internal.SafeStringBuilder Append(System.String value, System.Int32 startIndex, System.Int32 count)public Sandbox.Internal.SafeStringBuilder Append(System.String value)public Sandbox.Internal.SafeStringBuilder Append(System.UInt16 value)public Sandbox.Internal.SafeStringBuilder Append(System.UInt32 value)public Sandbox.Internal.SafeStringBuilder Append(System.UInt64 value)public Sandbox.Internal.SafeStringBuilder AppendFormat(System.IFormatProvider provider, System.String format, System.Object arg0, System.Object arg1, System.Object arg2)public Sandbox.Internal.SafeStringBuilder AppendFormat(System.IFormatProvider provider, System.String format, System.Object arg0, System.Object arg1)public Sandbox.Internal.SafeStringBuilder AppendFormat(System.IFormatProvider provider, System.String format, System.Object arg0)public Sandbox.Internal.SafeStringBuilder AppendFormat(System.IFormatProvider provider, System.String format, System.Object[] args)public Sandbox.Internal.SafeStringBuilder AppendFormat(System.String format, System.Object arg0, System.Object arg1, System.Object arg2)public Sandbox.Internal.SafeStringBuilder AppendFormat(System.String format, System.Object arg0, System.Object arg1)public Sandbox.Internal.SafeStringBuilder AppendFormat(System.String format, System.Object arg0)public Sandbox.Internal.SafeStringBuilder AppendFormat(System.String format, System.Object[] args)public Sandbox.Internal.SafeStringBuilder AppendJoin(System.Char separator, System.Object[] values)public Sandbox.Internal.SafeStringBuilder AppendJoin(System.Char separator, System.String[] values)public Sandbox.Internal.SafeStringBuilder AppendJoin(System.String separator, System.Object[] values)public Sandbox.Internal.SafeStringBuilder AppendJoin(System.String separator, System.String[] values)public Sandbox.Internal.SafeStringBuilder AppendJoin(System.Char separator, System.Collections.Generic.IEnumerable`1<T> values)public Sandbox.Internal.SafeStringBuilder AppendJoin(System.String separator, System.Collections.Generic.IEnumerable`1<T> values)public Sandbox.Internal.SafeStringBuilder AppendLine()public Sandbox.Internal.SafeStringBuilder AppendLine(System.ReadOnlySpan`1<System.Char> value)public Sandbox.Internal.SafeStringBuilder AppendLine(System.String value)public Sandbox.Internal.SafeStringBuilder Clear()public System.Void CopyTo(System.Int32 sourceIndex, System.Char[] destination, System.Int32 destinationIndex, System.Int32 count)public System.Void CopyTo(System.Int32 sourceIndex, System.Span`1<System.Char> destination, System.Int32 count)public System.Int32 EnsureCapacity(System.Int32 capacity)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Boolean value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Byte value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Char value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Char[] value, System.Int32 startIndex, System.Int32 charCount)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Char[] value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Decimal value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Double value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Int16 value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Int32 value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Int64 value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Object value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.ReadOnlySpan`1<System.Char> value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.SByte value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.Single value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.String value, System.Int32 count)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.String value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.UInt16 value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.UInt32 value)public Sandbox.Internal.SafeStringBuilder Insert(System.Int32 index, System.UInt64 value)public Sandbox.Internal.SafeStringBuilder Remove(System.Int32 startIndex, System.Int32 length)public Sandbox.Internal.SafeStringBuilder Replace(System.Char oldChar, System.Char newChar, System.Int32 startIndex, System.Int32 count)public Sandbox.Internal.SafeStringBuilder Replace(System.Char oldChar, System.Char newChar)public Sandbox.Internal.SafeStringBuilder Replace(System.String oldValue, System.String newValue, System.Int32 startIndex, System.Int32 count)public Sandbox.Internal.SafeStringBuilder Replace(System.String oldValue, System.String newValue)Propertiespublic System.Int32 Sandbox.Internal.SafeStringBuilder.Capacity { get; set; }public System.Char Sandbox.Internal.SafeStringBuilder.Item { get; set; }public System.Int32 Sandbox.Internal.SafeStringBuilder.Length { get; set; }public System.Int32 Sandbox.Internal.SafeStringBuilder.MaxCapacity { get; set; }Metadata