[Modify] Remove it

This commit is contained in:
sta 2022-02-09 19:38:32 +09:00
parent 89a01d3dc7
commit e3772bdeee

View File

@ -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&lt;uint&gt;</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>