PostSharp//API Reference/Post­Sharp.​Patterns.​Formatters/Unsafe­String­Builder­Pool
Open sandboxFocus

Class UnsafeStringBuilderPool

A thread-safe pool of UnsafeStringBuilder.

Inheritance
UnsafeStringBuilderPool
Implements
IDisposable
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class UnsafeStringBuilderPool : Object

Constructors

Name Description
UnsafeStringBuilderPool(Int32, Boolean, Int32)

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()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetInstance()

Gets an instance from the pool.

ReturnInstance(UnsafeStringBuilder)

Returns an UnsafeStringBuilder to the pool.