Edit

Share via


DefaultStreamIdMapper.GetGrainKeyId(GrainBindings, StreamId) Method

Definition

Gets the Key which maps to the provided StreamId

public Orleans.Runtime.IdSpan GetGrainKeyId (Orleans.Metadata.GrainBindings grainBindings, Orleans.Runtime.StreamId streamId);
abstract member GetGrainKeyId : Orleans.Metadata.GrainBindings * Orleans.Runtime.StreamId -> Orleans.Runtime.IdSpan
override this.GetGrainKeyId : Orleans.Metadata.GrainBindings * Orleans.Runtime.StreamId -> Orleans.Runtime.IdSpan
Public Function GetGrainKeyId (grainBindings As GrainBindings, streamId As StreamId) As IdSpan

Parameters

grainBindings
GrainBindings

The grain bindings.

streamId
StreamId

The stream identifier.

Returns

The Key component.

Implements

Applies to