private static DashbardIconWithDisplay MakeNode(DashboardIconAttribute sitemapNodeAttr, ICustomAttributeProvider info)
 {
     var sitemapNode = new DashbardIconWithDisplay
     {
         DashboardIcon = sitemapNodeAttr,
         Display = info.GetCustomAttributes(false).OfType<DisplayAttribute>().FirstOrDefault(),
         Url = info.GetCustomAttributes(false).OfType<IUrl>().FirstOrDefault() ?? new ConstUrl("#")
     };
     return sitemapNode;
 }
 private DashboardIcon Create(DashbardIconWithDisplay dashbardIconWithDisplay, RequestContext requestContext)
 {
     DashboardIcon icon = new DashboardIcon
     {
         Icon = dashbardIconWithDisplay.DashboardIcon.Icon,
         Url = dashbardIconWithDisplay.Url.MakeUrl(requestContext),
         Text = dashbardIconWithDisplay.Display == null ? "" : dashbardIconWithDisplay.Display.GetName(),
         Description = dashbardIconWithDisplay.Display == null ? "" : dashbardIconWithDisplay.Display.GetDescription(),
         Order = dashbardIconWithDisplay.DashboardIcon.Order,
     };
     return icon;
 }