Exemple #1
0
        private static void Main(string[] args)
        {
            DirectoryRepository directoryRepository = new DirectoryFileSystem();
               string rootPath = "";
               foreach(var arg in args)
            {
            if (arg.StartsWith("--path="))
            {
                rootPath = arg.Replace("--path=", "");
            }
            }

            var rootFolder = directoryRepository.BuildDirectoryInfo(rootPath);
        }
Exemple #2
0
        private static void Main(string[] args)
        {
            DirectoryRepository directoryRepository = new DirectoryFileSystem();
            string rootPath = "";

            foreach (var arg in args)
            {
                if (arg.StartsWith("--path="))
                {
                    rootPath = arg.Replace("--path=", "");
                }
            }

            var rootFolder = directoryRepository.BuildDirectoryInfo(rootPath);
        }