Ejemplo n.º 1
0
 /// <summary>An int extension method that times.</summary>
 ///
 /// <param name="times">   The times to act on.</param>
 /// <param name="actionFn">The action function.</param>
 public static void Times(this int times, Action actionFn)
 {
     Proxy.Times(times, actionFn);
 }
Ejemplo n.º 2
0
 /// <summary>An int extension method that times.</summary>
 ///
 /// <param name="times">The times to act on.</param>
 ///
 /// <returns>An enumerator that allows foreach to be used to process times in this collection.</returns>
 public static IEnumerable <int> Times(this int times)
 {
     return(Proxy.Times(times));
 }