GenericPool<T>

Class in Nostalgia.Pool / Inherits from: object

Description

General purpose pool

Type Parameters

Type Parameter Name Description Type Constraints
T Pool type. If IReleaseReceiver is implemented, the IReleaseReceiver.OnRelease() method is called when returning to the instance.
  • class
  • new()

Static Methods

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