Esempio n. 1
0
 public static IResult <Error> OnSuccess <TResult>(this IResult <TResult, Error> result, Func <TResult, IResult <Error> > nextFunc)
 {
     return(ResultExtensions.OnSuccess(result, nextFunc));
 }
Esempio n. 2
0
 public static IResult <Error> OnSuccess <TResult, TError>(this IResult <TResult, TError> result, Func <TResult, IResult <Error> > nextFunc, Func <TError, Error> errorConverterFunc)
     where TError : class
 {
     return(ResultExtensions.OnSuccess(result, nextFunc, errorConverterFunc));
 }