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