Ejemplo n.º 1
0
        public override void Run()
        {
            string root = AppDomain.CurrentDomain.BaseDirectory;

            Console.WriteLine($"Root:{root}");

            IFileProvider fileProvider = new PhysicalFileProvider(root);

            IDirectoryContents contents = fileProvider.GetDirectoryContents("/");

            Console.WriteLine(contents.AsFormatJsonStr());
        }