Example #1
0
        /// <summary>
        /// Return this LegacyGrainId in a standard string form, suitable for later use with the <c>FromParsableString</c> method.
        /// </summary>
        /// <returns>LegacyGrainId in a standard string format.</returns>
        internal string ToParsableString()
        {
            // NOTE: This function must be the "inverse" of FromParsableString, and data must round-trip reliably.

            return(Key.ToHexString());
        }
Example #2
0
        public string ToFullString()
        {
            string idString = Key.ToHexString();

            return((IsSystem ? "@S" : "@") + idString);
        }