private string GetDisplayName(Element element) { var builder = new StringBuilder(128); builder.AppendFirst(element.Id, element.Name); builder.AppendIf(" -> ", builder.Length > 0); builder.Append(element.ApplicationId); return builder.ToString(); }