Edit

Share via


GrainIdKeyExtensions Class

Definition

Extensions for GrainId keys.

public static class GrainIdKeyExtensions
type GrainIdKeyExtensions = class
Public Module GrainIdKeyExtensions
Inheritance
GrainIdKeyExtensions

Methods

CreateGuidKey(Guid, ReadOnlySpan<Byte>)

Creates an IdSpan representing a Guid key and key extension string.

CreateGuidKey(Guid, String)

Creates an IdSpan representing a Guid key and key extension string.

CreateGuidKey(Guid)

Creates an IdSpan representing a Guid key.

CreateIntegerKey(Int64, ReadOnlySpan<Byte>)

Creates an IdSpan representing a Int64 key and key extension string.

CreateIntegerKey(Int64, String)

Creates an IdSpan representing a Int64 key and key extension string.

CreateIntegerKey(Int64)

Creates an IdSpan representing a Int64 key.

GetGuidKey(GrainId, String)

Returns the Guid representation of a grain primary key.

GetGuidKey(GrainId)

Returns the Guid representation of a grain primary key.

GetIntegerKey(GrainId, String)

Returns the Int64 representation of a grain key.

GetIntegerKey(GrainId)

Returns the Int64 representation of a grain key.

TryGetGuidKey(GrainId, Guid, String)

Tries to parse the Key portion of the provided grain id to extract a Guid key and String key extension.

TryGetIntegerKey(GrainId, Int64, String)

Tries to parse the Key portion of the provided grain id to extract a Int64 key and String key extension.

Applies to