internal Translator(string apiKey, HttpClient httpClient) { _authToken = new AzureAuthToken(apiKey); _httpClient = httpClient ?? throw new ArgumentNullException(nameof(httpClient)); }
internal Translator(string apiKey) { authToken = new AzureAuthToken(apiKey); }
public Translator(string apiKey) { _authToken = new AzureAuthToken(apiKey); _postProcessor = new PostProcessTranslator(); }