/// <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); }
/// <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); }