public Arguments(string description, string execname) : this() { UsagePrinter = new UsagePrinter(); UsagePrinter.Description = description; UsagePrinter.Executable = execname; }
public void PrintUsage(TextWriter writer) { UsagePrinter.PrintUsage(writer, _args); }
public Arguments(string description, Assembly programAssembly) : this() { UsagePrinter = new UsagePrinter(); UsagePrinter.Description = description; UsagePrinter.Executable = programAssembly.GetName().Name; }
private Arguments() { _args = new List <IArgument>(); UsagePrinter = new UsagePrinter(); }