Beispiel #1
0
 public static void EmptyEnumerable() =>
 Assert.Some(Enumerable.Empty <int>(), Maybe.EmptyEnumerable <int>());
Beispiel #2
0
 public static Maybe <IEnumerable <T> > EmptyIfNone <T>(
     this Maybe <IEnumerable <T> > @this)
 {
     return(@this.OrElse(Maybe.EmptyEnumerable <T>()));
 }