コード例 #1
0
        /// <summary>
        /// Validates a set of urls
        /// </summary>
        /// <param name="configuration">Configuration options to set for the data quality engine. Omit if you want to use the default behavior. The default behavior assumes that the protocol is http</param>
        /// <param name="urls"></param>
        public UrlValidation(UrlValidationRequestConfiguration configuration, IEnumerable <string> urls)
        {
            var records = urls.Select(url => new UrlValidationRequestRecord
            {
                Url = url
            })
                          .ToList();

            Content = new UrlValidationRequest(configuration, records);
        }
コード例 #2
0
 /// <summary>
 /// Validates a set of urls
 /// </summary>
 /// <param name="configuration">Configuration options to set for the data quality engine. Omit if you want to use the default behavior. The default behavior assumes that the protocol is http</param>
 /// <param name="urls"></param>
 public UrlValidation(UrlValidationRequestConfiguration configuration,
                      List <UrlValidationRequestRecord> records)
 {
     Content = new UrlValidationRequest(configuration, records);
 }