Exemple #1
0
        internal static StringBuilder AppendDescription(this StringBuilder builder, IDnlibDef def, INameService nameService)
        {
            if (nameService is null)
            {
                return(builder.AppendHashedIdentifier("Name", def.FullName));
            }

            builder.Append("Original Name").Append(": ");
            builder.Append(nameService.GetDisplayName(def));
            builder.Append("; ");
            return(builder.AppendHashedIdentifier("Name", def.FullName));
        }