public List <string> PartlyNormalizeDomainAndExtractFullyNormalizedParts(string url, out Uri partlyNormalizedDomain)
        {
            partlyNormalizedDomain = UrlFixer.Repair(url);

            if (string.IsNullOrEmpty(url) || partlyNormalizedDomain == null)
            {
                return(default);
Ejemplo n.º 2
0
 public DomainName Get(string url, bool isResolver = false, bool repairUrl = false)
 {
     return(GetDomainName((isResolver || repairUrl) ? UrlFixer.Repair(url).ToString() : url, isResolver));
 }