public virtual IRssItemHandler GetRssItemHandler(string handlerId, Dictionary <string, string> variables) { var service = this.ServiceProvider.GetRequiredService <T>(); VariablesHelper.Inject(service, VariableInfos, variables); return(service); }
public ISyncSource GetSyncSource(string syncSourceId, Dictionary <string, string> variables) { var ss = new RssFetcherSyncSource(syncSourceId); VariablesHelper.Inject(ss, VariableInfos, variables); return(ss); }