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