Example #1
0
 public LinkedMethods SkipIf <T1, T2>(Func <T1, T2, bool> condition) =>
 Add(FlowControlMethod.Create <T1, T2>(Name, (arg1, arg2) => !condition(arg1, arg2)));
 public LinkedMethodsReturnValue SkipIf <T1, T2>(Func <T1, T2, bool> condition) =>
 Add(new InvertResultMethod(FlowControlMethod.Create <T1, T2>(Name, condition)));
Example #3
0
 public LinkedMethods SkipIf(Func <bool> condition) =>
 Add(FlowControlMethod.Create(Name, () => !condition()));