Interface IPool<T>.IManagedInterface
Represents the managed interface implemented by its unmanaged counterpart.
public interface IPool<T>.IManagedInterface : IUnmanagedInterface
- Inherited Members
Methods
Bounds()
Gets the bounds of the pool.
(Size, Size) Bounds()
Returns
Count()
Gets the number of elements in the pool.
Size Count()
Returns
- Size
The number of elements in the pool.
Get(int)
Gets the element at the specified index.
T Get(int index)
Parameters
indexintThe index of the element to retrieve.
Returns
- T
The element at the specified index.
GetEnumerator()
Gets an enumerator that iterates through the pool.
IPool<T>.Enumerator GetEnumerator()
Returns
- IPool<T>.Enumerator
An enumerator for the pool.
GetPoolEventDispatcher()
Gets the event dispatcher for the pool.
IEventDispatcher<IPoolEventHandler<T>> GetPoolEventDispatcher()
Returns
- IEventDispatcher<IPoolEventHandler<T>>
An IEventDispatcher<T> for handling pool events.
Lock(int)
Locks the element at the specified index.
void Lock(int index)
Parameters
indexintThe index of the element to lock.
Release(int)
Releases the element at the specified index.
void Release(int index)
Parameters
indexintThe index of the element to release.
Unlock(int)
Unlocks the element at the specified index.
bool Unlock(int index)
Parameters
indexintThe index of the element to unlock.