Skip to content

StringBuilderPool

Implements pooling logic for StringBuilder instances.

Fields:

Boolean StringBuilderPool.IsEnabled

Setting this property to false the pooling mechanism can be disabled.

TimeSpan StringBuilderPool.RemoveOlderThan

Buffer entries that released back to the pool and older than this value are moved when next maintenance is triggered.

TimeSpan StringBuilderPool.RunMaintenanceEvery

How often pool maintenance must run.

Comments