public List<HyperLink> GenerateHyperLinks()
{
var matches = HyperLinkRegex.Matches(this.ContentWithCommentsRemoved);
var links = new List<HyperLink>();
foreach (Match match in matches)
{
if (IsCorrectScheme(match.Groups[1].Value))
{
HyperLink hyperLink = new HyperLink(HttpRequestResult.ResultUrl, match.Groups[1].Value);
hyperLink.Text = match.Groups[2].Value;
hyperLink.Content = match.Groups[0].Value;
links.Add(hyperLink);
}
}
return links.Distinct().ToList();
}