示例#1
0
        public static DataExtractor Load(string dataPath, bool overwrite)
        {
            var data = new DataExtractor(dataPath);

            data.DownloadData(overwrite);

            data.LoadData();
            return(data);
        }
示例#2
0
        public static DataExtractor Load(string dataPath, bool overwrite)
        {
            var data = new DataExtractor(dataPath);

            if (overwrite || !Directory.Exists(dataPath))
            {
                data.DownloadData();
            }

            data.LoadData();
            return(data);
        }