UnsafeStringBuilderPool Class |
A thread-safe pool of UnsafeStringBuilder.

Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.4.11.0 (6.4.11.0)

C#
public sealed class UnsafeStringBuilderPool : IDisposable
The UnsafeStringBuilderPool type exposes the following members.

Name | Description | |
---|---|---|
![]() | UnsafeStringBuilderPool |
Initializes a new UnsafeStringBuilderPool.
|

Name | Description | |
---|---|---|
![]() | StringBuilderCapacity |
Gets the maximum number of characters in instances of the UnsafeStringBuilder class managed by the current pool.
|

Name | Description | |
---|---|---|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | GetInstance |
Gets an instance from the pool.
|
![]() | ReturnInstance |
Returns an UnsafeStringBuilder to the pool.
|
