Skip to content

GrainId

struct

Namespace: Orleans.Runtime

Identifies a grain.
[Orleans.GenerateSerializer]
[Orleans.Immutable]
[System.Text.Json.Serialization.JsonConverter(Orleans.Runtime.GrainIdJsonConverter)]
public readonly struct GrainId : IComparable<GrainId>, IEquatable<GrainId>, IFormattable, IParsable<GrainId>, ISpanFormattable, ISpanParsable<GrainId>, ISerializable

Constructors

Properties

  • IsDefaulttrue if this instance is the default value, false if it is not.
  • Key Gets the grain key.
  • Type Gets the grain type.

Methods