CollectionPool<TCollection, TItem>
Class in Nostalgia.Pool / Inherits from: object
Description
System.Collections.Generic.ICollection<T> type pool.
Type Parameters
Type Parameter Name | Description | Type Constraints |
---|---|---|
TCollection | Collection type |
|
TItem | Element type |
Static Methods
Method Name | Description |
---|---|
Get | Fetch an instance from the pool. |
Release | Return the instance to the pool. |