2024-04-19 23:12:24 -05:00
# Pool<T>(IEnumerable<T>) Constructor
2024-04-21 03:30:36 -05:00
Initializes a new instance of the < a href = "T_CapyKit_Pool_1.md" > Pool(T)< / a > class with the specified collection of items.
2024-04-19 23:12:24 -05:00
## Definition
2024-04-21 03:30:36 -05:00
**Namespace:** < a href = "N_CapyKit.md" > CapyKit< / a >
2024-09-04 19:31:43 -05:00
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2
2024-04-19 23:12:24 -05:00
**C#**
``` C#
public Pool(
IEnumerable< T > collection
)
```
**F#**
``` F#
new :
collection : IEnumerable< 'T> -> Pool
```
#### Parameters
2024-04-21 03:30:36 -05:00
< 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.md" > T< / a > )< / dt > < dd > The collection of < em > T< / em > items with which to seed the pool.< / dd > < / dl >
2024-04-19 23:12:24 -05:00
## See Also
#### Reference
2024-04-21 03:30:36 -05:00
< a href = "T_CapyKit_Pool_1.md" > Pool(T) Class< / a >
< a href = "Overload_CapyKit_Pool_1__ctor.md" > Pool(T) Overload< / a >
< a href = "N_CapyKit.md" > CapyKit Namespace< / a >