/// <summary> /// Initializes a new instance of the DocumentConversionService class. /// </summary> /// <param name="username">The service's username.</param> /// <param name="password">The service's password.</param> /// <param name="httpClient">The class for sending HTTP requests and receiving HTTP responses from the service methods.</param> /// <param name="settings">Common settings for all Watson Services.</param> internal DocumentConversionService(string username, string password, HttpClient httpClient, WatsonSettings settings) : base(username, password, httpClient, settings) { // ReSharper disable once ExceptionNotDocumented httpClient.BaseAddress = new Uri(ServiceUrl); }
/// <summary> /// Initializes a new instance of the DocumentConversionService class. /// </summary> /// <param name="username">The service's username.</param> /// <param name="password">The service's password.</param> /// <param name="settings">Common settings for all Watson Services.</param> public DocumentConversionService(string username, string password, WatsonSettings settings) : this(username, password, new HttpClient(), settings) { }
/// <summary> /// Initializes a new instance of the PersonalityInsightsService class. /// </summary> /// <param name="username">The service's username.</param> /// <param name="password">The service's password.</param> /// <param name="settings">Common settings for all Watson Services.</param> public PersonalityInsightsService(string username, string password, WatsonSettings settings) : this(username, password, new HttpClient(), settings) { }