CapyKit/Documentation/Help/T_CapyKit_PoolItem_1.md

3 KiB

PoolItem<T> Class

A pool item. This class cannot be inherited.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d

C#

public sealed class PoolItem<T>

F#

[<SealedAttribute>]
type PoolItem<'T> = class end
InheritanceObject → PoolItem(T)

Type Parameters

The type of the pooled item.

Properties

Index Gets the zero-based index of the pooled item.
Item Gets the pooled resource.
Locked Gets a value indicating whether this object is locked or not.
TypeName Gets the name of the Type of the pooled item.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ReleaseLock Releases the lock on the item.
SetLock Sets the lock on the item indicating that it is in use.
ToString Returns a string that represents the current object and its lock state.
(Overrides Object.ToString())

See Also

Reference

CapyKit Namespace