StringBuilderCache Methods |
The StringBuilderCache type exposes the following members.
Name | Description | |
---|---|---|
Acquire |
Acquires a string builder with the capacity specified. If no cached string builder is found with the requested capacity a new one is returned. If there are
cached stringbuilders with at least the requested capacity, the one with the minimal capacity is returned.
| |
GetStringAndRelease |
Gets the string from the string builder specified and calls release on it
| |
Release |
Releases the specified string builder and add it to the cache, if it's not at capacity already.
|