ResourcePoolT Methods |
The ResourcePoolT generic type exposes the following members.
Name | Description | |
---|---|---|
Clear |
Removes all items from the resource pool.
(Overrides ResourcePoolClear.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Obtain |
Obtains a new item by reusing an instance from the pool or by creating a new instance if
necessary.
| |
Recycle |
Recycles the given item and places it back in the pool for future reuse.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |