Import() public method

public Import ( string inDirectory ) : void
inDirectory string
return void
Esempio n. 1
0
        public static int ExecutePack( List<string> args )
        {
            if ( args.Count < 2 ) {
                Console.WriteLine( "Usage: infolder outfile" );
                return -1;
            }

            string inPath = args[0];
            string outPath = args[1];

            var scenario = new ScenarioDat();
            scenario.Import( inPath );
            scenario.Write( outPath );

            return 0;
        }
Esempio n. 2
0
        public static int ExecutePack(List <string> args)
        {
            if (args.Count < 2)
            {
                Console.WriteLine("Usage: infolder outfile");
                return(-1);
            }

            string inPath  = args[0];
            string outPath = args[1];

            var scenario = new ScenarioDat();

            scenario.Import(inPath);
            scenario.Write(outPath);

            return(0);
        }