/// <summary> /// Copies all configuration details from the given rule set into the current rule set. /// </summary> /// <param name="ruleSet">The rule set to copy the configuration details from.</param> /// <exception cref="ArgumentNullException">Thrown when the given rule set is null.</exception> public void Copy(CommandLineRuleSet ruleSet) { VerificationProvider.VerifyNotNull(ruleSet, "ruleSet"); // Copy the configuration details Prefixes = ruleSet.Prefixes; Separators = ruleSet.Separators; AllowMultipleValues = ruleSet.AllowMultipleValues; AllowSwitches = ruleSet.AllowSwitches; }