Exemplo n.º 1
0
 public AsyncConditionBuilder(TrackingCollection <IValidationRule> rules)
 {
     _rules = rules;
 }
Exemplo n.º 2
0
 public AsyncConditionOtherwiseBuilder(TrackingCollection <IValidationRule> rules, Func <IValidationContext, CancellationToken, Task <bool> > condition)
 {
     _rules     = rules;
     _condition = condition;
 }
Exemplo n.º 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;
 }
Exemplo n.º 6
0
 public ConditionBuilder(TrackingCollection <IValidationRuleInternal <T> > rules)
 {
     _rules = rules;
 }