Partager via


LeakTrackingObjectPool<T>(ObjectPool<T>) Constructor

Definition

Initializes a new instance of LeakTrackingObjectPool<T>.

public:
 LeakTrackingObjectPool(Microsoft::Extensions::ObjectPool::ObjectPool<T> ^ inner);
public LeakTrackingObjectPool (Microsoft.Extensions.ObjectPool.ObjectPool<T> inner);
new Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool<'T (requires 'T : null)> : Microsoft.Extensions.ObjectPool.ObjectPool<'T (requires 'T : null)> -> Microsoft.Extensions.ObjectPool.LeakTrackingObjectPool<'T (requires 'T : null)>
Public Sub New (inner As ObjectPool(Of T))

Parameters

inner
ObjectPool<T>

The ObjectPool<T> instance to track leaks in.

Applies to