Esempio n. 1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="RuleBuilderSource" /> class.
 /// </summary>
 /// <param name="factory"> The factory. </param>
 /// <param name="action"> The action. </param>
 protected RuleBuilderSource(RuleBuilderFactory factory, Action action)
 {
     if(factory == null)
     {
         throw new ArgumentNullException("factory");
     }
     if(action == null)
     {
         throw new ArgumentNullException("action");
     }
     this.factory = factory;
     this.action = action;
 }
Esempio n. 2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="RuleBuilderSource" /> class.
 /// </summary>
 /// <param name="factory"> The factory. </param>
 /// <param name="action"> The action. </param>
 protected RuleBuilderSource(RuleBuilderFactory factory, Action action)
 {
     if (factory == null)
     {
         throw new ArgumentNullException("factory");
     }
     if (action == null)
     {
         throw new ArgumentNullException("action");
     }
     this.factory = factory;
     this.action  = action;
 }
Esempio n. 3
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="PropertyRuleSource" /> class.
 /// </summary>
 /// <param name="factory"> The factory. </param>
 /// <param name="action"> The action. </param>
 public PropertyRuleSource(RuleBuilderFactory factory, Action action)
     : base(factory, action)
 {
 }
Esempio n. 4
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="FieldRuleSource" /> class.
 /// </summary>
 /// <param name="factory"> The factory. </param>
 /// <param name="action"> The action. </param>
 public FieldRuleSource(RuleBuilderFactory factory, Action action)
     : base(factory, action)
 {
 }
Esempio n. 5
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="FieldRuleSource" /> class.
 /// </summary>
 /// <param name="factory"> The factory. </param>
 /// <param name="action"> The action. </param>
 public FieldRuleSource(RuleBuilderFactory factory, Action action)
     : base(factory, action)
 {
 }
Esempio n. 6
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="PropertyRuleSource" /> class.
 /// </summary>
 /// <param name="factory"> The factory. </param>
 /// <param name="action"> The action. </param>
 public PropertyRuleSource(RuleBuilderFactory factory, Action action)
     : base(factory, action)
 {
 }