public static WordsAPIClient Create(IServiceProvider services, string name) { WordsAPIHttpService httpService = WordsAPIHttpServiceFactory.Create(services, name); return ActivatorUtilities.CreateInstance<WordsAPIClient>(services, httpService); }
public WordsAPIClient(WordsAPIHttpService service) { WordsAPIHttpService = service; }