Esempio n. 1
0
 static IEnumerable<object> Map(IEnumerable target, ITotemCallable action)
 {
     return Objectify(target).Select(obj => action.Invoke(obj));
 }
Esempio n. 2
0
 static void Each(IEnumerable target, ITotemCallable action)
 {
     foreach (var t in target)
         action.Invoke(t);
 }