Skip to content

Commit

Permalink
Merge pull request #46 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
update ResolveContentAllLanguage(IEnumerable items)
  • Loading branch information
Ali-YousefiTelori authored Mar 3, 2024
2 parents bc3629a + dc356bb commit f325896
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Platforms>AnyCPU;x64;x86</Platforms>
<Authors>EasyMicroservices</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0.23</Version>
<Version>0.0.0.24</Version>
<Description>client generated code.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>microservice,Content,Contents,client</PackageTags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,23 @@ string GetUniqueIdentity(object contract)
return uniqueIdentity.GetValue(contract) as string;
}

/// <summary>
///
/// </summary>
/// <param name="items"></param>
/// <returns></returns>
public async Task ResolveContentAllLanguage(IEnumerable items)
{
if (items == null)
return;
List<Task> tasks = new List<Task>();
foreach (var item in items)
{
tasks.Add(ResolveContentAllLanguage(item));
}
await Task.WhenAll(tasks);
}

/// <summary>
///
/// </summary>
Expand Down

0 comments on commit f325896

Please sign in to comment.