Click or drag to resize

IDPool Class

This class is a simple ID pool holder.
Inheritance Hierarchy
SystemObject
  VaserIDPool

Namespace:  Vaser
Assembly:  Vaser (in Vaser.dll) Version: 1.1.23.0 (1.1.23.0)
Syntax
C#
public class IDPool

The IDPool type exposes the following members.

Constructors
  NameDescription
Public methodIDPool
Creates a new pool of IDs
Top
Methods
  NameDescription
Public methodAddFreeIDs
Adds an specific amount to the free ID pool.
Public methodCountFreeIDs
How many IDs are available in the free pool.
Public methodDisposeID
Frees the used id back to the pool
Public methodGetFreeID
Returns a free ID from the pool
Public methodRegisterFreeID
Removes the ID from the pool and marks as used
Top
See Also