コード例 #1
0
ファイル: LegacyGrainId.cs プロジェクト: zhyifei/orleans
        /// <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());
        }
コード例 #2
0
        public string ToFullString()
        {
            string idString = Key.ToHexString();

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