共用方式為


StorageProviderUtils.PositiveHash 方法

定義

多載

PositiveHash(GrainReference, Int32)
PositiveHash(Int32, Int32)

PositiveHash(GrainReference, Int32)

來源:
StorageProviderUtils.cs
public static int PositiveHash (Orleans.Runtime.GrainReference grainReference, int hashRange);
static member PositiveHash : Orleans.Runtime.GrainReference * int -> int
Public Shared Function PositiveHash (grainReference As GrainReference, hashRange As Integer) As Integer

參數

grainReference
GrainReference
hashRange
Int32

傳回

適用於

PositiveHash(Int32, Int32)

來源:
StorageProviderUtils.cs
public static int PositiveHash (int hash, int hashRange);
static member PositiveHash : int * int -> int
Public Shared Function PositiveHash (hash As Integer, hashRange As Integer) As Integer

參數

hash
Int32
hashRange
Int32

傳回

適用於