merge Viktor hofer netstandard20 by ericnewton76 · Pull Request #386 · commandlineparser/commandline

and others added 30 commits

March 20, 2018 02:55
…it 'help' and 'version' options/verbs.
fixing grammar error in specification error message
… your Maximum Display Width is 80
…r non-Windows environments, but this is not true in more recent versions of Mono (returns 0 instead). This change will cause it to default to DefaultMaximumLength in the event that Console.WindowWidth returns 0.
ToDo: add tests and nameinfo
…pport

Fixing DisplayWidth for newer Mono
…leWidth

Fix to Display Width Tests
Very small typo in readme: Contibutors -> Contributors
…mework it's from AssemblyInfo, for .NET Standard file without extension.
Fix not showing correct header info, issue #34
Implement new functionality suggested in Issue 283
Fix HelpText.AutoBuild Usage spacing
…dline into ViktorHofer-netstandard20

@ericnewton76

 Conflicts:
	.paket/Paket.Restore.targets
	paket.lock
	src/CommandLine/CommandLine.csproj
	src/CommandLine/Core/ReflectionExtensions.cs
	tests/CommandLine.Tests.Properties/CommandLine.Tests.Properties.csproj
	tests/CommandLine.Tests/CommandLine.Tests.csproj
	tests/CommandLine.Tests/Unit/Core/InstanceBuilderTests.cs
	tests/CommandLine.Tests/Unit/Text/HelpTextTests.cs

@ericnewton76

@ericnewton76

@ericnewton76

@ericnewton76

@ericnewton76

Fix support for .NET 4.0 and .NET 4.5

@Yiabiten

Scenarios:
* IEnumerable option with 9000 entries: 15+ hours -> 150ms
* Options class w/20 string options all set on command line: 960ms -> 2.2ms

The speedups were all achieved by memoizing IEnumerables that are enumerated multiple times.
I initially added .ToSet() to EnumerableExtensions.cs, not realizing it was a paket file and thus not directly editable in this repo.
Improve performance by more than 400X

@pic-Nick

@rodj

@ericnewton76

@ericnewton76

@ericnewton76

@ericnewton76

@ericnewton76

README: fix typo in C# Quick Start Example

@ericnewton76

@ericnewton76

@ericnewton76

@ericnewton76

@ericnewton76