Ejemplo n.º 1
0
 public static IEnumerable <KeyValuePair <TKey, TValue> > Prepend <TKey, TValue>(this IEnumerable <KeyValuePair <TKey, TValue> > kvps, TKey key, TValue value)
 {
     return(EnumerableMembers.Prepend(key, value)(kvps));
 }
 public static IEnumerable <TA> Prepend <TA>(this IEnumerable <TA> @as, Option <TA> a)
 {
     return(EnumerableMembers.Prepend(a)(@as));
 }
Ejemplo n.º 3
0
 public static Func <TValue, IEnumerable <KeyValuePair <TKey, TValue> > > Prepend <TKey, TValue>(this IEnumerable <KeyValuePair <TKey, TValue> > kvps, TKey key)
 {
     return(Functions.RotateRight2(EnumerableMembers.Prepend <TKey, TValue>(key))(kvps));
 }