PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Unsafe­String­Builder­Pool Class

UnsafeStringBuilderPool Class

A thread-safe pool of UnsafeStringBuilder.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Formatters.UnsafeStringBuilderPool

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public sealed class UnsafeStringBuilderPool : IDisposable

The UnsafeStringBuilderPool type exposes the following members.

Constructors
  NameDescription
Public methodUnsafeStringBuilderPool
Initializes a new UnsafeStringBuilderPool.
Properties
  NameDescription
Public propertyStringBuilderCapacity
Gets the maximum number of characters in instances of the UnsafeStringBuilder class managed by the current pool.
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodGetInstance
Gets an instance from the pool.
Public methodReturnInstance
Returns an UnsafeStringBuilder to the pool.
See Also