共用方式為


LegacyGrainId 類別

定義

[Orleans.GenerateSerializer]
[Orleans.Immutable]
[System.Serializable]
public sealed class LegacyGrainId : IComparable<Orleans.Runtime.LegacyGrainId>, IEquatable<Orleans.Runtime.LegacyGrainId>
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
[<System.Serializable>]
type LegacyGrainId = class
    interface IEquatable<LegacyGrainId>
    interface IComparable<LegacyGrainId>
Public NotInheritable Class LegacyGrainId
Implements IComparable(Of LegacyGrainId), IEquatable(Of LegacyGrainId)
繼承
LegacyGrainId
屬性
實作

屬性

Category
IdentityString
IsClient
IsGrain
IsLongKey
IsSystemTarget
PrimaryKey
PrimaryKeyLong
PrimaryKeyString
TypeCode

方法

CompareTo(LegacyGrainId)
CreateGrainTypeForGrain(Int32)
CreateGrainTypeForSystemTarget(Int32)
Equals(LegacyGrainId)
Equals(Object)
FromGrainId(GrainId)
GetHashCode_Modulo(UInt32)
GetHashCode()
GetPrimaryKey(String)
GetPrimaryKeyLong(String)
GetUniformHashCode()

根據 Jenkins 雜湊函式,取得此細微性的統一分散式雜湊碼值。 注意:雜湊碼值可能是正數或負數。

IsLegacyGrainType(Type)
IsLegacyKeyExtGrainType(Type)
NewClientId()
NewId()
ToGrainId()
ToString()
TryConvertFromGrainId(GrainId, LegacyGrainId)

運算子

Implicit(LegacyGrainId to GrainId)

適用於