コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RuleManager"/> class.
 /// </summary>
 public RuleManager()
 {
     BrokenRules    = new BrokenRuleCollection();
     _businessRules = new RuleCollection();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BrokenRuleException"/> class.
 /// </summary>
 /// <param name="brokenRules">The broken rules.</param>
 public BrokenRuleException(BrokenRuleCollection brokenRules)
 {
     BrokenRules = brokenRules;
 }