コード例 #1
0
 public TermSearchService(ProviderSettings providerSettings)
 {
     _accessTokenService = new AccessTokenService();
     _domains            = DomainService.GetDomains();
     _termTypes          = TermTypeService.GetTermTypes();
     _providerSettings   = providerSettings;
 }
コード例 #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;
     }
 }