Skip to content

Commit 85b38eb

Browse files
committed
Update
1 parent 6f07722 commit 85b38eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Files.App.Storage/Windows/Managers/STATask.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public partial class STATask
1515
/// Schedules the specified work to execute in a new background thread initialized with STA state.
1616
/// </summary>
1717
/// <param name="action">The work to execute in the STA thread.</param>
18-
/// <param name="logger">Optional logger to capture any exception that occurs during execution.</param>
18+
/// <param name="logger">A logger to capture any exception that occurs during execution.</param>
1919
/// <returns>A <see cref="Task"/> that represents the work scheduled to execute in the STA thread.</returns>
2020
public static Task Run(Action action, ILogger logger)
2121
{
@@ -54,7 +54,7 @@ public static Task Run(Action action, ILogger logger)
5454
/// </summary>
5555
/// <typeparam name="T">The type of the result returned by the function.</typeparam>
5656
/// <param name="func">The work to execute in the STA thread.</param>
57-
/// <param name="logger">Optional logger to capture any exception that occurs during execution.</param>
57+
/// <param name="logger">A logger to capture any exception that occurs during execution.</param>
5858
/// <returns>A <see cref="Task"/> that represents the work scheduled to execute in the STA thread.</returns>
5959
public static Task<T> Run<T>(Func<T> func, ILogger logger)
6060
{
@@ -91,7 +91,7 @@ public static Task<T> Run<T>(Func<T> func, ILogger logger)
9191
/// Schedules the specified work to execute in a new background thread initialized with STA state.
9292
/// </summary>
9393
/// <param name="func">The work to execute in the STA thread.</param>
94-
/// <param name="logger">Optional logger to capture any exception that occurs during execution.</param>
94+
/// <param name="logger">A logger to capture any exception that occurs during execution.</param>
9595
/// <returns>A <see cref="Task"/> that represents the work scheduled to execute in the STA thread.</returns>
9696
public static Task Run(Func<Task> func, ILogger logger)
9797
{
@@ -130,7 +130,7 @@ public static Task Run(Func<Task> func, ILogger logger)
130130
/// </summary>
131131
/// <typeparam name="T">The type of the result returned by the function.</typeparam>
132132
/// <param name="func">The work to execute in the STA thread.</param>
133-
/// <param name="logger">Optional logger to capture any exception that occurs during execution.</param>
133+
/// <param name="logger">A logger to capture any exception that occurs during execution.</param>
134134
/// <returns>A <see cref="Task"/> that represents the work scheduled to execute in the STA thread.</returns>
135135
public static Task<T?> Run<T>(Func<Task<T>> func, ILogger logger)
136136
{

0 commit comments

Comments
 (0)