public static MultisourceXml GetConfigSource() { MultisourceXml res = new MultisourceXml( new SourcePath("config.xml", true)); return(res); }
public static MultisourceXml GetRssSource(string name, string url) { MultisourceXml res = new MultisourceXml( new SourcePath(name + ".xml", true, true), new SourcePath(url) ); return(res); }
public static MultisourceXml GetPlaylistSource(string url, string firma, string pobocka) { MultisourceXml res = new MultisourceXml( new SourcePath("playlist.xml", true, true), new SourcePath(url, new Dictionary <string, string>() { { "action", "pl" }, { "firma", firma }, { "pobocka", pobocka } } ) ); return(res); }