StringBuilderPool Constructors
- Namespace
- Kampute.DocToolkit.Support
- Assembly
- Kampute.DocToolkit.dll
| StringBuilderPool() | Initializes a new instance of the StringBuilderPool class with a default capacity. |
| StringBuilderPool(int) | Initializes a new instance of the StringBuilderPool class with a specified capacity. |
StringBuilderPool()
Initializes a new instance of the StringBuilderPool class with a default capacity.
public StringBuilderPool()StringBuilderPool(int)
Initializes a new instance of the StringBuilderPool class with a specified capacity.
public StringBuilderPool(int capacity)Parameters
capacityint- The maximum number of StringBuilder instances in the pool.
Exceptions
- ArgumentOutOfRangeException
- Thrown when
capacityis less than one.
