コード例 #1
0
        public static MultisourceXml GetConfigSource()
        {
            MultisourceXml res = new MultisourceXml(
                new SourcePath("config.xml", true));

            return(res);
        }
コード例 #2
0
        public static MultisourceXml GetRssSource(string name, string url)
        {
            MultisourceXml res = new MultisourceXml(
                new SourcePath(name + ".xml", true, true),
                new SourcePath(url)
                );

            return(res);
        }
コード例 #3
0
        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);
        }