Click or drag to resize

FIFOCachingPool Constructor

First in, First out caching

Namespace:  Com.ForbiddenByte.OSA.Util.IO.Pools
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public FIFOCachingPool(
	int capacity,
	FIFOCachingPoolObjectDestroyer objectDestroyer = null
)

Parameters

capacity
Type: SystemInt32
objectDestroyer (Optional)
Type: Com.ForbiddenByte.OSA.Util.IO.PoolsFIFOCachingPoolObjectDestroyer
When an object is kicked out of the cache, this will be used to process its destruction, in case special code needs to be executed. This is also called for each value when the cache is cleared usinc Clear
Version Information

Optimized ScrollView Adapter

Supported in: 4.3
See Also