|
WeightedCollectionT Constructor (IEnumerableT) |
Constructor which will initialize the pool with an array of T.
Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizerAssembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public WeightedCollection(
IEnumerable<T> source
)
Public Sub New (
source As IEnumerable(Of T)
)
public:
WeightedCollection(
IEnumerable<T>^ source
)
new :
source : IEnumerable<'T> -> WeightedCollection
Parameters
- source
- Type: System.Collections.GenericIEnumerableT
Array of objects which will initially put into the pool.
See Also