internal MaybeEnumerableApplicator(MaybeEnumerable <T> list, Func <T, V> applicator, Func <V> failure)
 {
     this.list       = list;
     HasValue        = true;
     this.applicator = applicator;
     this.failure    = failure;
 }
Exemple #2
0
 internal MaybeEnumerableConditionalApplicator(MaybeEnumerable <T> list, Func <T, bool> evaluator, Func <T, T> applicator, bool inverseCondition = false)
     : base(list, applicator)
 {
     this.evaluator        = evaluator;
     this.inverseCondition = inverseCondition;
 }
 internal MaybeEnumerableApplicator(MaybeEnumerable <T> list, Func <T, V> applicator)
 {
     this.list       = list;
     HasValue        = true;
     this.applicator = applicator;
 }