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