public sealed class ConcurrentObjectPool<T>
where T : class
Public NotInheritable Class ConcurrentObjectPool(Of T As Class)generic<typename T>
where T : ref class
public ref class ConcurrentObjectPool sealed[<SealedAttribute>]
type ConcurrentObjectPool<'T when 'T : not struct> = class end| ConcurrentObjectPoolT | Создаёт экземпляр класса с указанием функции, используемой для создания объектов. |
| Count | Текущее количество объектов в пуле. Если объекты отсутствуют, то при обращении к методу Rent будет создан новый объект. |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| Rent | Возвращает объект из пула или создаёт объект, если пул пустой. |
| Return | Возвращает объект в пул. |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |