CapyKit/Documentation/Help/M_CapyKit_Pool_1_ReleaseItem.md
Jordan Wages 87bd044b31 Settings Helper + Documentation
The `SettingsHelper` is an agnostic way to access settings values uniformly through code. The accessor methods are controlled by the consumer.

Documentation has been a bit wonky. I changed the max number of version number components allowed, so each new build should not create new changes on every single bit of documentation now.
2024-04-22 18:28:21 -05:00

837 B

ReleaseItem Method

Releases the lock on the specified item and returns it to the pool.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0

C#

public void ReleaseItem(
	PoolItem<T> item
)

F#

member ReleaseItem : 
        item : PoolItem<'T> -> unit 

Parameters

  PoolItem(T)
The item to release.

Remarks

This method sets the Locked flag to false so that it can be retrieved by GetAvailableItem().

See Also

Reference

Pool(T) Class
CapyKit Namespace