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

            data.DownloadData(overwrite);

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

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

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