HandCoded.Validation.RuleSet.Add C# (CSharp) Method

Add() public method

Adds the Rule instances that comprise another RuleSet to this one.
public Add ( RuleSet ruleSet ) : void
ruleSet RuleSet The RuleSet to be added.
return void
        public void Add(RuleSet ruleSet)
        {
            foreach (Rule rule in ruleSet.rules.Values)
                rules.Add (rule.Name, rule);
        }

Same methods

RuleSet::Add ( Rule rule ) : void