private static string GetName(ContainerAdapterInfo container) { string name = string.Format( "{0}{1}{2}", container.Name, string.IsNullOrEmpty(container.Version) ? string.Empty : " ", container.Version); if (!string.IsNullOrEmpty(container.Url)) { name = string.Format("<a href=\"{0}\">{1}</a>", container.Url, name); } return(name); }
private string GetName(ContainerAdapterInfo container) { string name = string.Format( "{0}{1}{2}", container.Name, string.IsNullOrEmpty(container.Version) ? string.Empty : " ", container.Version); if (!string.IsNullOrEmpty(container.Url)) { name = string.Format("[{0}]({1})", name, container.Url); } return(name); }