/// <summary> /// Gets the <see cref="SiloAddress"/> of the system target. /// </summary> public SiloAddress GetSiloAddress() { var key = this.GrainId.Key.AsSpan(); if (key.IndexOf((byte)SegmentSeparator) is int index && index >= 0) { key = key.Slice(0, index); } return(SiloAddress.FromUtf8String(key)); }