示例#1
0
        protected void Download(string[] cmdHandles, SourceQuery query, CmdToParam toParam)
        {
            foreach (string handle in cmdHandles)
            {
                if (config.CheckAutoMode(handle) == AutoMode.AUTO)
                {
                    Console.WriteLine($"Downloading data for {handle}...");

                    persistence.Persist(handle, query(toParam(handle)));
                }
            }
        }