Esempio n. 1
0
        public virtual IRssItemHandler GetRssItemHandler(string handlerId, Dictionary <string, string> variables)
        {
            var service = this.ServiceProvider.GetRequiredService <T>();

            VariablesHelper.Inject(service, VariableInfos, variables);
            return(service);
        }
Esempio n. 2
0
        public ISyncSource GetSyncSource(string syncSourceId, Dictionary <string, string> variables)
        {
            var ss = new RssFetcherSyncSource(syncSourceId);

            VariablesHelper.Inject(ss, VariableInfos, variables);
            return(ss);
        }