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