mirror of https://github.com/abpframework/abp.git
4 changed files with 7 additions and 21 deletions
@ -1,13 +0,0 @@ |
|||||
using System.Collections.Generic; |
|
||||
using Volo.Abp.Threading; |
|
||||
|
|
||||
namespace Volo.Abp.Localization |
|
||||
{ |
|
||||
public static class LanguageProviderExtensions |
|
||||
{ |
|
||||
public static IReadOnlyList<LanguageInfo> GetLanguages(this ILanguageProvider languageProvider) |
|
||||
{ |
|
||||
return AsyncHelper.RunSync(languageProvider.GetLanguagesAsync); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue