CapyKit/Documentation/Help/M_CapyKit_Pool_1__ctor.md

36 lines
942 B
Markdown
Raw Normal View History

# Pool<T>(IEnumerable<T>) Constructor
Initializes a new instance of the <a href="T_CapyKit_Pool_1">Pool(T)</a> class with the specified collection of items.
## Definition
**Namespace:** <a href="N_CapyKit">CapyKit</a>
2024-04-21 01:20:26 -05:00
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d
**C#**
``` C#
public Pool(
IEnumerable<T> collection
)
```
**F#**
``` F#
new :
collection : IEnumerable<'T> -> Pool
```
#### Parameters
<dl><dt>  <a href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1" target="_blank" rel="noopener noreferrer">IEnumerable</a>(<a href="T_CapyKit_Pool_1">T</a>)</dt><dd>The collection of <em>T</em> items with which to seed the pool.</dd></dl>
## See Also
#### Reference
<a href="T_CapyKit_Pool_1">Pool(T) Class</a>
<a href="Overload_CapyKit_Pool_1__ctor">Pool(T) Overload</a>
<a href="N_CapyKit">CapyKit Namespace</a>