Skip to content

GrainIdKeyExtensions.CreateIntegerKey(long, string?)

CreateIntegerKey(long, string?)

static
View source
public static IdSpan CreateIntegerKey(long key, string? keyExtension)
Creates an IdSpan representing a System.Int64 key and key extension string.

Parameters

keylong
The key.
keyExtensionstring?
The key extension.

Returns

An IdSpan representing the provided key and key extension.