コード例 #1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="ApplicationEngine"/> class.
		/// </summary>
		/// <param name="ruleSet">The rule set.</param>
		public ApplicationEngine(ApplicationRuleSet ruleSet)
		{
			if (ruleSet == null)
				throw new ArgumentNullException("ruleSet");

			_ruleSet = ruleSet;
		}
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ApplicationEngine"/> class.
        /// </summary>
        /// <param name="ruleSet">The rule set.</param>
        public ApplicationEngine(ApplicationRuleSet ruleSet)
        {
            if (ruleSet == null)
            {
                throw new ArgumentNullException("ruleSet");
            }

            _ruleSet = ruleSet;
        }