public static Result <IEnumerable <TValue> > Merge <TValue>(params Result <TValue>[] results) { return(ResultHelper.MergeWithValue(results)); }
/// <summary> /// Merge multiple result objects to one result together /// </summary> public static Result <IEnumerable <TValue> > Merge <TValue>(this IEnumerable <Result <TValue> > results) { return(ResultHelper.MergeWithValue(results.ToArray())); }