From d319fb937946904619d1d0842dd69d03d74c6645 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 30 Mar 2020 15:32:00 +0200 Subject: [PATCH] Fixed some XML comments --- Microsoft.Toolkit.Uwp/Helpers/DispatcherHelper.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Microsoft.Toolkit.Uwp/Helpers/DispatcherHelper.cs b/Microsoft.Toolkit.Uwp/Helpers/DispatcherHelper.cs index ee309ae1cc2..e1389f5122e 100644 --- a/Microsoft.Toolkit.Uwp/Helpers/DispatcherHelper.cs +++ b/Microsoft.Toolkit.Uwp/Helpers/DispatcherHelper.cs @@ -15,7 +15,7 @@ namespace Microsoft.Toolkit.Uwp.Helpers public static class DispatcherHelper { /// - /// 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. /// /// Synchronous function to be executed on UI thread. /// Dispatcher execution priority, default is normal. @@ -27,7 +27,7 @@ public static Task ExecuteOnUIThreadAsync(Action function, CoreDispatcherPriorit } /// - /// 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. /// /// Returned data type of the function. /// Synchronous function to be executed on UI thread. @@ -40,7 +40,8 @@ public static Task ExecuteOnUIThreadAsync(Func function, CoreDispatcher } /// - /// Executes the given function asynchronously on UI thread of the main view. + /// Executes the given -returning function on the main view's UI thread and returns either that + /// or a proxy that completes when the one produced by the given function completes. /// /// Asynchronous function to be executed asynchronously on UI thread. /// Dispatcher execution priority, default is normal. @@ -51,7 +52,8 @@ public static Task ExecuteOnUIThreadAsync(Func function, CoreDispatcherPri } /// - /// Executes the given function asynchronously on UI thread of the main view. + /// Executes the given -returning function on the main view's UI thread and returns either that + /// or a proxy that completes when the one produced by the given function completes. /// /// Returned data type of the function. /// Asynchronous function to be executed asynchronously on UI thread.