Exemple #1
0
        public static void Main(string[] args) //FileWrapper DirectoryWrapper
        {
            DirectoryWrapper jsonDir = DirectoryWrapper.Create().GetParent(4);

            jsonDir.Add("data");
            DirectoryWrapper csvDir       = jsonDir.GetChildDirectory("csv");
            DirectoryWrapper customCsvDir = jsonDir.GetChildDirectory("custom_csv");

            jsonDir.Add("json");

            FileHelper.WriteLine(jsonDir);
            FileHelper.WriteLine(csvDir);
            FileHelper.WriteLine(customCsvDir);

            ProcessCSVs(csvDir, customCsvDir, jsonDir);
        }