Add async in method name
This commit is contained in:
Родитель
f8a7d3a8be
Коммит
a742c5d3f2
|
@ -37,7 +37,7 @@ namespace Microsoft.Performance.Toolkit.Plugins.Core.Discovery
|
|||
/// <returns>
|
||||
/// The <see cref="AvailablePluginInfo"/> of all versions of the given plugin.
|
||||
/// </returns>
|
||||
Task<IReadOnlyCollection<AvailablePluginInfo>> DiscoverAllVersionsOfPlugin(
|
||||
Task<IReadOnlyCollection<AvailablePluginInfo>> DiscoverAllVersionsOfPluginAsync(
|
||||
PluginIdentity pluginIdentity,
|
||||
CancellationToken cancellationToken);
|
||||
|
||||
|
|
|
@ -334,7 +334,7 @@ namespace Microsoft.Performance.Toolkit.Plugins.Runtime.Manager
|
|||
return Array.Empty<AvailablePlugin>();
|
||||
}
|
||||
|
||||
Task<IReadOnlyCollection<AvailablePluginInfo>>[] tasks = discoverers.Select(d => d.DiscoverAllVersionsOfPlugin(pluginIdentity, cancellationToken)).ToArray();
|
||||
Task<IReadOnlyCollection<AvailablePluginInfo>>[] tasks = discoverers.Select(d => d.DiscoverAllVersionsOfPluginAsync(pluginIdentity, cancellationToken)).ToArray();
|
||||
|
||||
var task = Task.WhenAll(tasks);
|
||||
try
|
||||
|
|
Загрузка…
Ссылка в новой задаче