Esempio n. 1
0
 public static Result <E> OnSuccess <E>(this Result <E> result, Func <Result <E> > onsuccess)
 {
     return(ResultCoreExtensions.Bind(result, onsuccess));
 }
Esempio n. 2
0
 public static O Return <E, O>(this Result <E> result, Func <O> onsuccess, Func <E, O> onfailure)
 {
     return(ResultCoreExtensions.Match(result, onsuccess, onfailure));
 }