示例#1
0
        private string ToString(PipId pipId)
        {
            if (!pipId.IsValid)
            {
                return(string.Empty);
            }

            var pipType = PipTable.GetPipType(pipId);
            var type    = pipType == PipType.SealDirectory ? PipTable.GetSealDirectoryKind(pipId).ToString() : pipType.ToString();

            return($"{PipTable.GetFormattedSemiStableHash(pipId)} [{type}]");
        }