Example #1
0
 public AsyncConditionBuilder(TrackingCollection <IValidationRule> rules)
 {
     _rules = rules;
 }
Example #2
0
 public AsyncConditionOtherwiseBuilder(TrackingCollection <IValidationRule> rules, Func <IValidationContext, CancellationToken, Task <bool> > condition)
 {
     _rules     = rules;
     _condition = condition;
 }
Example #3
0
 public ConditionOtherwiseBuilder(TrackingCollection <IValidationRule> rules, Func <IValidationContext, bool> condition)
 {
     _rules     = rules;
     _condition = condition;
 }
 public CaptureDisposable(TrackingCollection <T> parent, Action <T> handler)
 {
     this._parent    = parent;
     this._old       = parent._capture;
     parent._capture = handler;
 }
 public EventDisposable(TrackingCollection <T> parent, Action <T> handler)
 {
     this.parent  = parent;
     this.handler = handler;
 }
Example #6
0
 public ConditionBuilder(TrackingCollection <IValidationRuleInternal <T> > rules)
 {
     _rules = rules;
 }