Κοινή χρήση μέσω


Microsoft.Extensions.ObjectPool Namespace

Classes

DefaultObjectPool<T>

Default implementation of ObjectPool<T>.

DefaultObjectPoolProvider

The default ObjectPoolProvider.

DefaultPooledObjectPolicy<T>

Default implementation for PooledObjectPolicy<T>.

DependencyInjectionPoolOptions

Contains configuration for pools.

LeakTrackingObjectPool<T>

An ObjectPool<T> implementation that detects leaks in the use of the object pool.

A leak is produced if an object is leased from the pool but not returned before it is finalized. An error is only produced in Debug builds. This type is only recommended to be used for diagnostic builds.

LeakTrackingObjectPoolProvider

An ObjectPoolProvider that produces instances of LeakTrackingObjectPool<T>.

ObjectPool

Methods for creating ObjectPool<T> instances.

ObjectPool<T>

A pool of objects.

ObjectPoolProvider

A provider of ObjectPool<T> instances.

ObjectPoolProviderExtensions

Extension methods for ObjectPoolProvider.

PooledObjectPolicy<T>

A base type for IPooledObjectPolicy<T>.

StringBuilderPooledObjectPolicy

A policy for pooling StringBuilder instances.

Interfaces

IPooledObjectPolicy<T>

Represents a policy for managing pooled objects.

IResettable

Defines a method to reset an object to its initial state.