Browse Source

Merge pull request #7813 from abpframework/maliming-patch-1

Make GetAllAsync method of SettingProvider virtual.
pull/7827/head
liangshiwei 6 years ago
committed by GitHub
parent
commit
81345ded70
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingProvider.cs

2
framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingProvider.cs

@ -43,7 +43,7 @@ namespace Volo.Abp.Settings
return value;
}
public async Task<List<SettingValue>> GetAllAsync(string[] names)
public virtual async Task<List<SettingValue>> GetAllAsync(string[] names)
{
var result = new Dictionary<string, SettingValue>();
var settingDefinitions = SettingDefinitionManager.GetAll().Where(x => names.Contains(x.Name)).ToList();

Loading…
Cancel
Save