MetalamaAPI documentationFlashtrace APIFlashtrace.​FormattersUnsafe­String­Builder­Pool
Open sandboxFocus

UnsafeStringBuilderPool Class

A thread-safe pool of UnsafeStringBuilder.

Inheritance
System.Object
UnsafeStringBuilderPool
Implements
System.IDisposable
Namespace: Flashtrace.Formatters
Assembly: Flashtrace.Formatters.dll
Syntax
public sealed class UnsafeStringBuilderPool : Object

Constructors

Name Description
UnsafeStringBuilderPool(Int32, Boolean, Int32)

Initializes a new instance of the UnsafeStringBuilderPool class.

Properties

Name Description
StringBuilderCapacity

Gets the maximum number of characters in instances of the UnsafeStringBuilder class managed by the current pool.

Methods

Name Description
Dispose()
GetInstance()

Gets an instance from the pool.

ReturnInstance(UnsafeStringBuilder)

Returns an UnsafeStringBuilder to the pool.