public TermSearchService(ProviderSettings providerSettings) { _accessTokenService = new AccessTokenService(); _domains = DomainService.GetDomains(); _termTypes = TermTypeService.GetTermTypes(); _providerSettings = providerSettings; }
private void LoadTermTypes() { if (TermTypeService.IateTermType?.Count > 0) { SetTermTypes(TermTypeService.IateTermType); } else { IateTermTypes = new NotifyTaskCompletion <ObservableCollection <ItemsResponseModel> >(_termTypeService.GetTermTypes()); IateTermTypes.PropertyChanged += IateTermTypes_PropertyChanged; } }