/// <summary>An int extension method that times.</summary> /// /// <typeparam name="T">Generic type parameter.</typeparam> /// <param name="times"> The times to act on.</param> /// <param name="actionFn">The action function.</param> /// /// <returns>A List<T></returns> public static List <T> Times <T>(this int times, Func <int, T> actionFn) { return(Proxy.Times(times, actionFn)); }
/// <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); }
/// <summary>An int extension method that times asynchronous.</summary> /// /// <param name="times"> The times to act on.</param> /// <param name="actionFn">The action function.</param> /// /// <returns>A List<IAsyncResult></returns> public static List <IAsyncResult> TimesAsync(this int times, Action actionFn) { return(Proxy.TimesAsync(times, actionFn)); }
/// <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)); }