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(); }
public WcUtil(wcSettings settings) { Settings = settings; }