Redigera

Dela via


GrainIdKeyExtensions.CreateGuidKey Method

Definition

Overloads

CreateGuidKey(Guid)

Creates an IdSpan representing a Guid key.

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.

public static Orleans.Runtime.IdSpan CreateGuidKey (Guid key);
static member CreateGuidKey : Guid -> Orleans.Runtime.IdSpan
Public Function CreateGuidKey (key As Guid) As IdSpan

Parameters

key
Guid

The key.

Returns

An IdSpan representing the provided key.

Applies to

CreateGuidKey(Guid, ReadOnlySpan<Byte>)

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

public static Orleans.Runtime.IdSpan CreateGuidKey (Guid key, ReadOnlySpan<byte> keyExtension);
static member CreateGuidKey : Guid * ReadOnlySpan<byte> -> Orleans.Runtime.IdSpan
Public Function CreateGuidKey (key As Guid, keyExtension As ReadOnlySpan(Of Byte)) As IdSpan

Parameters

key
Guid

The key.

keyExtension
ReadOnlySpan<Byte>

The UTF-8 encoded key extension.

Returns

An IdSpan representing the provided key and key extension.

Applies to

CreateGuidKey(Guid, String)

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

public static Orleans.Runtime.IdSpan CreateGuidKey (Guid key, string? keyExtension);
static member CreateGuidKey : Guid * string -> Orleans.Runtime.IdSpan
Public Function CreateGuidKey (key As Guid, keyExtension As String) As IdSpan

Parameters

key
Guid

The key.

keyExtension
String

The key extension.

Returns

An IdSpan representing the provided key and key extension.

Applies to