PostSharp5.0//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: 5.0.55.0 (5.0.55.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.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also