Skip to content

LegacyGrainId.GetHashCode_Modulo(uint)

GetHashCode_Modulo(uint)

View source
public uint GetHashCode_Modulo(uint umod)
Gets a non-negative hash code reduced modulo the specified value.

Parameters

umoduint
The modulus.

Returns

The hash code in the range from zero through umod minus one.