Share via


GrainIdKeyExtensions 類別

定義

金鑰的 GrainId 延伸模組。

public static class GrainIdKeyExtensions
type GrainIdKeyExtensions = class
Public Module GrainIdKeyExtensions
繼承
GrainIdKeyExtensions

方法

CreateGuidKey(Guid)

IdSpan建立代表索引鍵的 Guid

CreateGuidKey(Guid, ReadOnlySpan<Byte>)

建立 , IdSpan 表示 Guid 索引鍵和金鑰延伸字串。

CreateGuidKey(Guid, String)

建立 , IdSpan 表示 Guid 索引鍵和金鑰延伸字串。

CreateIntegerKey(Int64)

IdSpan建立代表索引鍵的 Int64

CreateIntegerKey(Int64, ReadOnlySpan<Byte>)

建立 , IdSpan 表示 Int64 索引鍵和金鑰延伸字串。

CreateIntegerKey(Int64, String)

建立 , IdSpan 表示 Int64 索引鍵和金鑰延伸字串。

GetGuidKey(GrainId)

Guid 回粒紋主鍵的表示。

GetGuidKey(GrainId, String)

Guid 回粒紋主鍵的表示。

GetIntegerKey(GrainId)

Int64 回粒紋索引鍵的表示。

GetIntegerKey(GrainId, String)

Int64 回粒紋索引鍵的表示。

TryGetGuidKey(GrainId, Guid, String)

嘗試剖析 Key 所提供之粒紋識別碼的部分,以擷取 Guid 金鑰和 String 金鑰延伸模組。

TryGetIntegerKey(GrainId, Int64, String)

嘗試剖析 Key 所提供之粒紋識別碼的部分,以擷取 Int64 金鑰和 String 金鑰延伸模組。

適用於