A thread-safe pool of UnsafeStringBuilder.
Implements
Namespace: Flashtrace.Formatters
Assembly: Flashtrace.Formatters.dll
Syntax
public sealed class UnsafeStringBuilderPool : IDisposable
Constructors
Name | Description |
---|---|
UnsafeStringBuilderPool(int, bool, int) | 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. |