ObjectPool Class
From RemObjects Software
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
- RemObjects.Common.Pooling.BaseObjectPool
- RemObjects.Common.Pooling.ObjectPool
Properties
| | | |
|---|---|---|
| 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
| | |
|---|---|
| ObjectPool | Default constructor for ObjectPool. |
See Also
Product: RemObjects Data Abstract
Current version: Data Abstract 'Vinci' (5.0)
Lists — Glossary — Features — How To — Drivers — Components — Tools — Samples — Articles — Architecture — Issues
Categories: Text | Data Abstract | Architecture | Class | .NET
