示例#1
0
 public static Try <A> WhereNot <A>(this Try <A> incoming,
                                    Predicate <A> notPredicate, String message)
 => incoming.WhereNot(notPredicate, () => message);
示例#2
0
 public static Try <A> WhereNot <A>(this Try <A> incoming,
                                    Predicate <A> notPredicate, Func <String> errorCallback)
 => incoming.WhereNot(notPredicate, () => new Exception(errorCallback()));