Skip to content

GrainIdKeyExtensions.CreateGuidKey(Guid, ReadOnlySpan<byte>)

CreateGuidKey(Guid, ReadOnlySpan<byte>)

static
View source
public static IdSpan CreateGuidKey(Guid key, ReadOnlySpan<byte> keyExtension)
Creates an IdSpan representing a System.Guid key and key extension string.

Parameters

keyGuid
The key.
keyExtensionReadOnlySpan<byte>
The UTF-8 encoded key extension.

Returns

An IdSpan representing the provided key and key extension.