public WhoisEnhancedRecord(WhoisRecord whoisRecord, string filters, string referrer)
 {
     var registrant = whoisRecord.RegistryData.Registrant;
     City = registrant.City;
     StateProvince = registrant.StateProv;
     Organization = registrant.Name;
     CountryCode2 = registrant.Country;
     try
     {
         Country = new CountryNameLookup.CountryNameLookup().GetCountryName(CountryCode2);
     }
     catch
     {
         Country = CountryCode2;
     }
     this.ProcessFilters(filters, referrer);
     this.ProcessFriendly();
     this.ProcessReferrer(referrer);
 }
Ejemplo n.º 2
0
        public WhoisEnhancedRecord(WhoisRecord whoisRecord, string filters, string referrer)
        {
            var registrant = whoisRecord.RegistryData.Registrant;

            City          = registrant.City;
            StateProvince = registrant.StateProv;
            Organization  = registrant.Name;
            CountryCode2  = registrant.Country;
            try
            {
                Country = new CountryNameLookup.CountryNameLookup().GetCountryName(CountryCode2);
            }
            catch
            {
                Country = CountryCode2;
            }
            this.ProcessFilters(filters, referrer);
            this.ProcessFriendly();
            this.ProcessReferrer(referrer);
        }