A helper class to aid in parameter validation in methods.
public class Conductor
{
...
public Conductor(Helper helper, int min, int max, string bossName)
{
_helper = Argument.IsNotNull(helper, nameof(helper));
_min = Argument.InRange(min, 1, 10, nameof(min));
_max = Argument.InRange(max, _min, 10, nameof(max));
_bossName = Argument.IsNotEmpty(bossName, nameof(bossName));
...
- Prevented a rare bug where a disposable enumerable would not be disposed.
- Updated to latest language version.
- Addressed code style issues raised by ReSharper
- Added pre-commit hook to fixup generated markdown files.