Skip to content

Commit

Permalink
Fixed some XML comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Mar 30, 2020
1 parent 899d500 commit d319fb9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Microsoft.Toolkit.Uwp/Helpers/DispatcherHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Microsoft.Toolkit.Uwp.Helpers
public static class DispatcherHelper
{
/// <summary>
/// Executes the given function on a given view's UI thread. The default view is the main view.
/// Executes the given function on the main view's UI thread.
/// </summary>
/// <param name="function">Synchronous function to be executed on UI thread.</param>
/// <param name="priority">Dispatcher execution priority, default is normal.</param>
Expand All @@ -27,7 +27,7 @@ public static Task ExecuteOnUIThreadAsync(Action function, CoreDispatcherPriorit
}

/// <summary>
/// Executes the given function on a given view's UI thread. The default view is the main view.
/// Executes the given function on the main view's UI thread and returns its result.
/// </summary>
/// <typeparam name="T">Returned data type of the function.</typeparam>
/// <param name="function">Synchronous function to be executed on UI thread.</param>
Expand All @@ -40,7 +40,8 @@ public static Task<T> ExecuteOnUIThreadAsync<T>(Func<T> function, CoreDispatcher
}

/// <summary>
/// Executes the given function asynchronously on UI thread of the main view.
/// Executes the given <see cref="Task"/>-returning function on the main view's UI thread and returns either that <see cref="Task"/>
/// or a proxy <see cref="Task"/> that completes when the one produced by the given function completes.
/// </summary>
/// <param name="function">Asynchronous function to be executed asynchronously on UI thread.</param>
/// <param name="priority">Dispatcher execution priority, default is normal.</param>
Expand All @@ -51,7 +52,8 @@ public static Task ExecuteOnUIThreadAsync(Func<Task> function, CoreDispatcherPri
}

/// <summary>
/// Executes the given function asynchronously on UI thread of the main view.
/// Executes the given <see cref="Task{TResult}"/>-returning function on the main view's UI thread and returns either that <see cref="Task{TResult}"/>
/// or a proxy <see cref="Task{TResult}"/> that completes when the one produced by the given function completes.
/// </summary>
/// <typeparam name="T">Returned data type of the function.</typeparam>
/// <param name="function">Asynchronous function to be executed asynchronously on UI thread.</param>
Expand Down

0 comments on commit d319fb9

Please sign in to comment.