Прочетете на английски Редактиране

Споделяне чрез


GrainIdKeyExtensions Class

Definition

Extensions for GrainId keys.

C#
public static class 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

Продукт Версии
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0