mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Correct documentation comment text
This commit is contained in:
parent
087f216bcf
commit
5faa61fa64
@ -39,7 +39,7 @@ namespace Spectre.Console
|
||||
/// Starts a new status display.
|
||||
/// </summary>
|
||||
/// <param name="status">The status to display.</param>
|
||||
/// <param name="action">he action to execute.</param>
|
||||
/// <param name="action">The action to execute.</param>
|
||||
public void Start(string status, Action<StatusContext> action)
|
||||
{
|
||||
var task = StartAsync(status, ctx =>
|
||||
@ -56,7 +56,7 @@ namespace Spectre.Console
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The result type.</typeparam>
|
||||
/// <param name="status">The status to display.</param>
|
||||
/// <param name="func">he action to execute.</param>
|
||||
/// <param name="func">The action to execute.</param>
|
||||
/// <returns>The result.</returns>
|
||||
public T Start<T>(string status, Func<StatusContext, T> func)
|
||||
{
|
||||
@ -68,7 +68,7 @@ namespace Spectre.Console
|
||||
/// Starts a new status display.
|
||||
/// </summary>
|
||||
/// <param name="status">The status to display.</param>
|
||||
/// <param name="action">he action to execute.</param>
|
||||
/// <param name="action">The action to execute.</param>
|
||||
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
||||
public async Task StartAsync(string status, Func<StatusContext, Task> action)
|
||||
{
|
||||
@ -89,7 +89,7 @@ namespace Spectre.Console
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The result type of task.</typeparam>
|
||||
/// <param name="status">The status to display.</param>
|
||||
/// <param name="func">he action to execute.</param>
|
||||
/// <param name="func">The action to execute.</param>
|
||||
/// <returns>A <see cref="Task{T}"/> representing the asynchronous operation.</returns>
|
||||
public async Task<T> StartAsync<T>(string status, Func<StatusContext, Task<T>> func)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user