Esempio n. 1
0
        /// <summary>
        /// Validates a set of phone numbers
        /// </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 phone number includes a country code.</param>
        /// <param name="numbers"></param>
        public PhoneValidation(PhoneValidationRequestConfiguration configuration, IEnumerable <string> numbers)
        {
            var phoneNumbers = numbers.Select(number => new PhoneValidationRequestRecord
            {
                PhoneNumber = number
            })
                               .ToList();

            Content = new PhoneValidationRequest(configuration, phoneNumbers);
        }
Esempio n. 2
0
 /// <summary>
 /// Validates a set of phone numbers
 /// </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 phone number includes a country code.</param>
 /// <param name="phoneNumbers"></param>
 public PhoneValidation(PhoneValidationRequestConfiguration configuration,
                        List <PhoneValidationRequestRecord> phoneNumbers)
 {
     Content = new PhoneValidationRequest(configuration, phoneNumbers);
 }
Esempio n. 3
0
 /// <summary>
 /// Validates a set of phone numbers
 /// </summary>
 /// <param name="content"></param>
 public PhoneValidation(PhoneValidationRequest content)
 {
     Content = content;
 }