Esempio n. 1
0
        static void Main(string[] args)
        {
            CommandLineParser.CommandLineParser parser = new CommandLineParser.CommandLineParser();
            ParsingTarget p = new ParsingTarget();

            parser.ExtractArgumentAttributes(p);
            parser.ParseCommandLine(args);
            parser.AdditionalArgumentsSettings.AcceptAdditionalArguments = true;
            string[] paths = parser.AdditionalArgumentsSettings.AdditionalArguments;

            wcSettings currentSettings = new wcSettings(p, paths);
            WcUtil     util            = new WcUtil(currentSettings);

            util.Start();
        }
Esempio n. 2
0
 public WcUtil(wcSettings settings)
 {
     Settings = settings;
 }