Skip to content

PoolingServiceCollectionExtensions Class

Definition

Namespace: Brine2D.Pooling

Extension methods for registering object pooling services. Called automatically by AddObjectECS() - users don't need to call this directly.

C#
public static class PoolingServiceCollectionExtensions

Inheritance System.Object → PoolingServiceCollectionExtensions

Methods
AddObjectPooling\(this IServiceCollection\) Adds object pooling infrastructure to the service collection. Registers the ObjectPoolProvider singleton.