Esempio n. 1
0
 public static OperationResult CreateError(OperationResult result)
 => new OperationResult(result.ErrorList);
Esempio n. 2
0
 public static OperationResult <R> CreateError <R>(OperationResult result)
 => new OperationResult <R>(result.ErrorList);
Esempio n. 3
0
 public static OperationResult <R> AsError <R>(this OperationResult result)
 {
     return(OperationResult.CreateError <R>(result.ErrorList));
 }