Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CommandParsingContext"/> class.
        /// </summary>
        /// <param name="ruleSet">The rule set in use by the command parsing operations.</param>
        /// <exception cref="ArgumentNullException">Thrown when the given rule set is null.</exception>
        internal CommandParsingContext(CommandLineRuleSet ruleSet)
        {
            VerificationProvider.VerifyNotNull(ruleSet, "ruleSet");

            mRuleSet = ruleSet;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CommandParsingContext"/> class.
        /// </summary>
        /// <param name="ruleSet">The rule set in use by the command parsing operations.</param>
        /// <exception cref="ArgumentNullException">Thrown when the given rule set is null.</exception>
        internal CommandParsingContext(CommandLineRuleSet ruleSet)
        {
            VerificationProvider.VerifyNotNull(ruleSet, "ruleSet");

            mRuleSet = ruleSet;
        }