Esempio 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;
        }
Esempio 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;
        }