CollectionPool<TCollection, TItem>

Class in Arbor.Pool / Inherits from: object

Description

System.Collections.Generic.ICollection<T> type pool.

Type Parameters

Type Parameter Name Description Type Constraints
TCollection Collection type
  • ICollection<TItem>
  • class
  • new()
TItem Element type

Static Methods

Method Name Description
Get Fetch an instance from the pool.
Release Return the instance to the pool.