Table of Contents

Interface IArrayPoolService

Namespace
PaintDotNet.AppModel
Assembly
PaintDotNet.Core.dll

Provides access to ArrayPool<T>.

This service was originally created during the days of .NET Framework when the array pool was only available as a nuget package, which made it difficult for plugins to use it. Nowadays, you should just use ArrayPool<T> directly.

public interface IArrayPoolService : IInternalImpl

Methods

Rent<T>(int)
Rent<T>(int, bool)