Click or drag to resize

PoolManagerBase<TManagerSettings, TPool, TPoolSettings, TSource, TInstance>.Enabled Property

[This is preliminary documentation and is subject to change.]

Gets or sets a value indicating whether pooling is enabled.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public bool Enabled { get; set; }

Property Value

Type: Boolean
Remarks
When Enabled is set to false, all pools accessed through the PoolManagerBase< TManagerSettings, TPool, TPoolSettings, TSource, TInstance> will appear empty, and acquiring from them will only work if InstantiateWhenEmpty is true.
See Also