Ejemplo n.º 1
0
        /// <summary>Check MultiPropertyRuleMethod and adjust BrokenRules accordingly.</summary>
        /// <param name="pRule">The MultiPropertyRuleMethod to check.</param>
        /// <remarks>MultiPropertyRules translate to two or more BrokenRules.</remarks>
        private void CheckMultiPropertyRuleX(MultiPropertyRuleMethod pRule)
        {
            bool passed = pRule.Invoke(mTarget);

            BrokenRulesX.RemoveGroup(pRule.GroupRuleName);
            if (passed)
            {
                return;
            }

            AddBrokenRulesForMultiPropertyRule(pRule);
        }