Edit

Share via


GrainReferenceKeyInfo Struct

Definition

Type is a low level representation of grain reference keys to enable space-efficient serialization of grain references.

public readonly struct GrainReferenceKeyInfo
type GrainReferenceKeyInfo = struct
Public Structure GrainReferenceKeyInfo
Inheritance
GrainReferenceKeyInfo

Remarks

This type is not intended for general use. It's a highly specialized type for serializing and deserializing grain references, and as such is not generally something you should pass around in your application.

Constructors

GrainReferenceKeyInfo(ValueTuple<UInt64,UInt64,UInt64,String>)
GrainReferenceKeyInfo(ValueTuple<UInt64,UInt64,UInt64,String>, Guid)
GrainReferenceKeyInfo(ValueTuple<UInt64,UInt64,UInt64,String>, String)
GrainReferenceKeyInfo(ValueTuple<UInt64,UInt64,UInt64,String>, ValueTuple<IPEndPoint,Int32>)

Properties

GenericArgument

Generic argument. Only applicable if HasGenericArgument is true.

HasGenericArgument

Whether or not key info has generic argument.

HasKeyExt

Whether or not key info has key extension.

HasObserverId

Whether or not key info has observer id.

HasTargetSilo

Whether or not key info has silo endpoint.

IsLongKey

Whether or not key info has a long key.

Key

Grain key. For more specialized views, see KeyAs* methods and KeyFrom*.

ObserverId

Observer id. Only applicable if HasObserverId is true.

TargetSilo

Target silo. Only applicable if HasTargetSilo is true.

Methods

KeyAsGuid()
KeyAsGuidWithExt()
KeyAsLong()
KeyAsLongWithExt()
KeyAsString()
KeyFromGuid(Guid, UInt64)
KeyFromGuidWithExt(Guid, String, UInt64)
KeyFromLong(Int64, UInt64)
KeyFromLongWithExt(Int64, String, UInt64)
KeyFromString(String, UInt64)

Applies to