CapyKit/Documentation/Help/M_CapyKit_Pool_1__ctor_2.md
Jordan Wages 87bd044b31 Settings Helper + Documentation
The `SettingsHelper` is an agnostic way to access settings values uniformly through code. The accessor methods are controlled by the consumer.

Documentation has been a bit wonky. I changed the max number of version number components allowed, so each new build should not create new changes on every single bit of documentation now.
2024-04-22 18:28:21 -05:00

1.1 KiB

Pool<T>(Int32, Func<T>) Constructor

Initializes a new instance of the Pool(T) class with the specified pool size and constructor selector.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0

C#

public Pool(
	int poolSize,
	Func<T> constructorSelector
)

F#

new : 
        poolSize : int * 
        constructorSelector : Func<'T> -> Pool

Parameters

  Int32
The size of the pool.
  Func(T)
The constructor selector used to create new instances of T.

See Also

Reference

Pool(T) Class
Pool(T) Overload
CapyKit Namespace