Skip to content

Commit 9f9ff75

Browse files
committed
Updated comments style
1 parent 45a90fa commit 9f9ff75

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Microsoft.Toolkit.Uwp/Helpers/DispatcherQueueHelper.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ public static Task ExecuteOnUIThreadAsync(this DispatcherQueue dispatcher, Actio
2828
throw new ArgumentNullException(nameof(function));
2929
}
3030

31-
/* Run the function directly when we have thread access.
32-
* Also reuse Task.CompletedTask in case of success,
33-
* to skip an unnecessary heap allocation for every invocation. */
31+
// Run the function directly when we have thread access.
32+
// Also reuse Task.CompletedTask in case of success,
33+
// to skip an unnecessary heap allocation for every invocation.
3434
if (dispatcher.HasThreadAccess)
3535
{
3636
try
@@ -124,10 +124,10 @@ public static Task ExecuteOnUIThreadAsync(this DispatcherQueue dispatcher, Func<
124124
throw new ArgumentNullException(nameof(function));
125125
}
126126

127-
/* If we have thread access, we can retrieve the task directly.
128-
* We don't use ConfigureAwait(false) in this case, in order
129-
* to let the caller continue its execution on the same thread
130-
* after awaiting the task returned by this function. */
127+
// If we have thread access, we can retrieve the task directly.
128+
// We don't use ConfigureAwait(false) in this case, in order
129+
// to let the caller continue its execution on the same thread
130+
// after awaiting the task returned by this function.
131131
if (dispatcher.HasThreadAccess)
132132
{
133133
try

0 commit comments

Comments
 (0)