CapyKit/Documentation/Help/M_CapyKit_Pool_1__ctor_2.md
Jordan Wages 735d7c4c91 Documentation + Unfinished SecurityHelper
Committing the unfinished changes to the SecurityHelper as I flesh it out during the migration. Also starting a documentation folder powered by Sandcastle.
2024-04-19 23:12:24 -05:00

1.3 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+6cdd805be49c3b769a116584ea6904955ecd820d

C#

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

VB

Public Sub New ( 
	poolSize As Integer,
	constructorSelector As Func(Of T)
)

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