Beispiel #1
0
 public TermSearchService(ProviderSettings providerSettings)
 {
     _accessTokenService = new AccessTokenService();
     _domains            = DomainService.GetDomains();
     _termTypes          = TermTypeService.GetTermTypes();
     _providerSettings   = providerSettings;
 }
Beispiel #2
0
        public TermSearchService(SettingsModel providerSettings)
        {
            _accessTokenService = new AccessTokenService();
            TermTypes           = new ObservableCollection <TermTypeModel>();
            _domains            = DomainService.Domains;
            _termTypeService    = new TermTypeService();

            LoadTermTypes();
            _providerSettings = providerSettings;
        }