Пример #1
0
 private void buildRuleset(BuildState state, p_Ruleset ruleset)
 {
     foreach (var pRule in ruleset.Rules)
     {
         buildRule(state, pRule);
     }
 }
Пример #2
0
        private p_Ruleset obtainRuleset()
        {
            p_Ruleset ruleset = new p_Ruleset();

            ruleset.Rules = new List <p_Rule>();

            while (true)
            {
                if (resetState(checkRule))
                {
                    p_Rule r;
                    ruleset.Rules.Add(r = obtainRule());

                    continue;
                }
                else
                {
                    break;
                }
            }
            return(ruleset);
        }
Пример #3
0
 private void buildRuleset(BuildState state, p_Ruleset ruleset)
 {
     foreach (var pRule in ruleset.Rules)
     {
         buildRule(state, pRule);
     }
 }
Пример #4
0
        private p_Ruleset obtainRuleset()
        {
            p_Ruleset ruleset = new p_Ruleset();
            ruleset.Rules = new List<p_Rule>();

            while (true)
            {
                if (resetState(checkRule))
                {
                    p_Rule r;
                    ruleset.Rules.Add(r = obtainRule());

                    continue;
                }
                else
                {
                    break;
                }
            }
            return ruleset;
        }