public static string ComposeStrings(this Seq <string> value, string blur)
 => value.Aggregate((a, b) => $"{a}{blur}{b}");
Пример #2
0
 IJsonObject PairsToObject(Seq <Tuple <IJsonObject, IJsonObject> > pairs)
 {
     return(pairs.Aggregate(JsonObject.Builder(),
                            (a0, a1) => a0.Append(a1.Item1.AsString(), a1.Item2),
                            a0 => a0.Build()));
 }
Пример #3
0
 private string PrintError(Seq <Error> errors) => errors.Aggregate("|", (acc, error) => $"{acc}{error.Message}");
Пример #4
0
 private static string ErrorToString(Seq <Error> errors) => errors.Aggregate("|", (acc, error) => $"{acc}{error.Message}");