The class XObjectPool represents an enhanced hash table where each key is assigned with object using a weak reference.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public class XObjectPool

Remarks

The relationship between a key and a object is represented by a weak reference WeakReference and in the case, that the object is not longer used in the application, Garbage Collector (GC) is able to dispose it and than removes it from the hash table XObjectPool. This ability is different from a classic hash table Hashtable in .NET Framework..

Inheritance Hierarchy

System..::.Object
  SGP.XUtility..::.XObjectPool

See Also