CapyKit/Documentation/Help/Methods_T_CapyKit_Pool_1.md

3.4 KiB

Pool<T> Methods

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
FillPoolItemCollection(IEnumerable(T)) Fill the pool item collection from an existing T collection.
FillPoolItemCollection(Int32) Initializes the pool with the specified number of items using the default constructor.
FillPoolItemCollection(Int32, Func(T)) Initializes the pool with the specified number of items using the specified constructor selector.
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetAvailableItem Gets the first available item from the pool and sets its lock.
GetHashCode Serves as the default hash function.
(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)
ReleaseItem Releases the lock on the specified item and returns it to the pool.
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Pool(T) Class
CapyKit Namespace