|
HelpersResetFineTuneWeightT Method |
Resets all fine tune weight to 1.
Namespace: JLChnToZ.LuckyPlayerAssembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void ResetFineTuneWeight<T>(
this WeightedCollection<T> collection
)
<ExtensionAttribute>
Public Shared Sub ResetFineTuneWeight(Of T) (
collection As WeightedCollection(Of T)
)
public:
[ExtensionAttribute]
generic<typename T>
static void ResetFineTuneWeight(
WeightedCollection<T>^ collection
)
[<ExtensionAttribute>]
static member ResetFineTuneWeight :
collection : WeightedCollection<'T> -> unit
Parameters
- collection
- Type: JLChnToZ.LuckyPlayer.WeightedRandomizerWeightedCollectionT
The collection have to reset the fine tune weight
Type Parameters
- T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
WeightedCollectionT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also