Skip to content

UniqueKey

class

Namespace: Orleans.Runtime

Represents the composite key used by the legacy Orleans grain identifier encoding.
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[Orleans.SuppressReferenceTracking]
[System.Text.Json.Serialization.JsonConverter(Orleans.Runtime.UniqueKeyJsonConverter)]
public sealed class UniqueKey : IComparable<UniqueKey>, IEquatable<UniqueKey>

Constructors

Properties

  • BaseTypeCode Gets the 32-bit legacy type code.
  • HasKeyExt Gets a value indicating whether this key has a primary key extension.
  • IdCategory Gets the identifier category encoded in UniqueKey.
  • IsLongKey Gets a value indicating whether the primary key is encoded as a System.Int64.
  • IsSystemTargetKey Gets a value indicating whether this key represents a system target.
  • KeyExt Gets the optional primary key extension.
  • N0 Gets the first 64 bits of the primary key.
  • N1 Gets the second 64 bits of the primary key.
  • TypeCodeData Gets the packed category and type code data.

Methods