[Modify] Remove it
This commit is contained in:
parent
89a01d3dc7
commit
e3772bdeee
@ -1816,32 +1816,6 @@ namespace WebSocketSharp
|
||||
action (i);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Executes the specified delegate <paramref name="n"/> times.
|
||||
/// </summary>
|
||||
/// <param name="n">
|
||||
/// A <see cref="uint"/> that specifies the number of times to execute.
|
||||
/// </param>
|
||||
/// <param name="action">
|
||||
/// <para>
|
||||
/// An <c>Action<uint></c> delegate to execute.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <see cref="uint"/> parameter is the zero-based count of iteration.
|
||||
/// </para>
|
||||
/// </param>
|
||||
public static void Times (this uint n, Action<uint> action)
|
||||
{
|
||||
if (n == 0)
|
||||
return;
|
||||
|
||||
if (action == null)
|
||||
return;
|
||||
|
||||
for (uint i = 0; i < n; i++)
|
||||
action (i);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Executes the specified delegate <paramref name="n"/> times.
|
||||
/// </summary>
|
||||
|
Loading…
Reference in New Issue
Block a user