CapyKit/Documentation/Help/M_CapyKit_Pool_1__ctor.md

942 B

Pool<T>(IEnumerable<T>) Constructor

Initializes a new instance of the Pool(T) class with the specified collection of items.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d

C#

public Pool(
	IEnumerable<T> collection
)

F#

new : 
        collection : IEnumerable<'T> -> Pool

Parameters

  IEnumerable(T)
The collection of T items with which to seed the pool.

See Also

Reference

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