PoolBaseTSource, TInstance, TSettingsItems Property |
[This is preliminary documentation and is subject to change.]
Namespace: Umbrace.Unity.PurePool
public IList<TInstance> Items { get; }
This property cannot be accessed until the pool has been initialised.
This property always creates a new ListT each time the property getter is accessed. For performance reasons the value should be cached where possible, to avoid the costs of object instantiation and garbage collection.
See the GetItems(ListTInstance) method for a way to avoid the allocation of a new ListT object.