ObjectPool Class

From RemObjects Software

Jump to: navigation, search

This is a Data Abstract Architecture entry
Feel free to add your notes to this topic below.



Overview (.NET)

Object pool that calls the default constructor of the type passed as a generic parameter when creating new instances.

This object pool uses the Activator class to create a new instance.

Namespace

Declaration (C#)

public class ObjectPool<TItem> : BaseObjectPool<TItem>, ITypedObjectPool<TItem> where TItem: class, new();

Hierarchy

Properties

Property
Type
Description
ObjectType Type Returns a System.Type instance of the type used in this object pool.

This is used by the class to create a new instance with Activator. This is equal to TypeOf(<type passed as generic parameter>)


Methods

Method
Description
ObjectPool Default constructor for ObjectPool.


See Also


Product: RemObjects Data Abstract
Current version: Data Abstract 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToDriversComponentsToolsSamplesArticlesArchitectureIssues

Personal tools