Class DefaultArrayPoolProvider
Always returns System.Buffers.ArrayPool`1.Shared.
Inheritance
- Object
- DefaultArrayPoolProvider
Implements
Declaration
public class DefaultArrayPoolProvider : Object, IArrayPoolProvider
Properties
Instance
The shared global instance of DefaultArrayPoolProvider.
Declaration
public static IArrayPoolProvider Instance { get; }
Property Value
Type | Description |
---|---|
Methods
GetArrayPool<T>()
Always returns System.Buffers.ArrayPool`1.Shared.
Declaration
public ArrayPool<T> GetArrayPool<T>()
Returns
Type | Description |
---|---|
ArrayPool<T> |
Type Parameters
Name | Description |
---|---|
T |