protected ArgumentRuleDecorator(ArgumentRule argument) { if (argument == null) { throw new ArgumentNullException(nameof(argument)); } Argument = argument; }
public TypedArgument(ArgumentRule argument, Type type, params string[] aliases) : base(argument) { if (type == null) { throw new ArgumentNullException(nameof(type)); } _type = type; _aliases = aliases; }
public OptionalArgument(ArgumentRule argument) : base(argument) { }