|
ItemWeightTGetWeight Method |
Gets the current weight
Namespace: JLChnToZ.LuckyPlayer.WeightedRandomizerAssembly: LuckyPlayer (in LuckyPlayer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public virtual double GetWeight(
T item
)
Public Overridable Function GetWeight (
item As T
) As Double
public:
virtual double GetWeight(
T item
)
abstract GetWeight :
item : 'T -> float
override GetWeight :
item : 'T -> float
Parameters
- item
- Type: T
The item need to check
Return Value
Type:
DoubleThe weight
Implements
IItemWeightTGetWeight(T)Remarks This is the interface method for fetching weight.
See Also