public static T Parse <T>(params string[] args) where T : new() { var t = new T(); var parser = new ToolArgsParser(t); parser.Parse(args); return(t); }
public static void ParseInto(object obj, string args) { var parser = new ToolArgsParser(obj); parser.Parse(args); }