public string CreateLinkToType(Parser parser, string type)
{
IEnumerable<APIInterface> interfaces = parser.Interfaces.Where(apiInterface => apiInterface.Name == type);
if (interfaces.Count() == 0)
return type;
// create a link to that type.
string result = string.Format("<a href=\"?page=com_object_{0}\">{1}</a>", type.ToLower(), type);
return result;
}