Skip to content

Fluent interface is too complex #20

Description

@GoogleCodeExporter
Fluent interface is still too complex and should be more clear.

Simplify AutoWire<>(), WithOption<>()
- These methods should not take a lambda, but return the optionBuilder.

Rename WithOption -> RegisterOption()

Rename *.WithOption -> With()

Remove OnOptionParsed and introduce an event instead

Remove Customize() and provide a public constructor with ParserSettings.

Move the overload
  void WithOption(string name, Action<IOptionBuilder> builderDelegate)
to ParserExtensions

Original issue reported on code.google.com by michael.praschl on 13 Nov 2013 at 8:52

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions