GrainIdKeyExtensions
class
Namespace: Orleans.Runtime
Extensions for
GrainId keys. public static class GrainIdKeyExtensionsMethods
CreateGuidKey(Guid)Creates anIdSpanrepresenting aSystem.Guidkey.CreateGuidKey(Guid, ReadOnlySpan<byte>)Creates anIdSpanrepresenting aSystem.Guidkey and key extension string.CreateGuidKey(Guid, string?)Creates anIdSpanrepresenting aSystem.Guidkey and key extension string.CreateIntegerKey(long)Creates anIdSpanrepresenting aSystem.Int64key.CreateIntegerKey(long, ReadOnlySpan<byte>)Creates anIdSpanrepresenting aSystem.Int64key and key extension string.CreateIntegerKey(long, string?)Creates anIdSpanrepresenting aSystem.Int64key and key extension string.GetGuidKey(GrainId)Returns theSystem.Guidrepresentation of a grain primary key.GetGuidKey(GrainId, string?)Returns theSystem.Guidrepresentation of a grain primary key.GetIntegerKey(GrainId)Returns theSystem.Int64representation of a grain key.GetIntegerKey(GrainId, string?)Returns theSystem.Int64representation of a grain key.TryGetGuidKey(GrainId, Guid, string?)Tries to parse theGrainIdportion of the provided grain id to extract aSystem.Guidkey andSystem.Stringkey extension.TryGetIntegerKey(GrainId, long, string?)Tries to parse theGrainIdportion of the provided grain id to extract aSystem.Int64key andSystem.Stringkey extension.
