public POEditorAPI(string apiToken, HttpClient httpClient) { this._serializerSettings = new JsonSerializerSettings() { ContractResolver = new DefaultContractResolver() { NamingStrategy = new SnakeCaseNamingStrategy() }, NullValueHandling = NullValueHandling.Ignore }; this._apiCaller = new ApiCaller(apiToken, httpClient, this._serializerSettings); this.Projects = new ProjectAPI(this._apiCaller); this.Terms = new TermsAPI(this._apiCaller); this.Languages = new LanguageAPI(this._apiCaller); }
internal TermsAPI(ApiCaller apiCaller) { this._apiCaller = apiCaller; }
internal ProjectAPI(ApiCaller apiCaller) { this._apiCaller = apiCaller; }
internal LanguageAPI(ApiCaller apiCaller) { this._apiCaller = apiCaller; }