Browse Source
Set `SettingDefinition's Providers` from `SettingDefinitionRecord`.
pull/20614/head
maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
5 additions and
0 deletions
-
modules/setting-management/src/Volo.Abp.SettingManagement.Domain/Volo/Abp/SettingManagement/DynamicSettingDefinitionStoreInMemoryCache.cs
|
|
@ -41,6 +41,11 @@ public class DynamicSettingDefinitionStoreInMemoryCache : IDynamicSettingDefinit |
|
|
record.IsInherited, |
|
|
record.IsInherited, |
|
|
record.IsEncrypted); |
|
|
record.IsEncrypted); |
|
|
|
|
|
|
|
|
|
|
|
if (!record.Providers.IsNullOrWhiteSpace()) |
|
|
|
|
|
{ |
|
|
|
|
|
settingDefinition.Providers.AddRange(record.Providers.Split(',')); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
foreach (var property in record.ExtraProperties) |
|
|
foreach (var property in record.ExtraProperties) |
|
|
{ |
|
|
{ |
|
|
settingDefinition.WithProperty(property.Key, property.Value); |
|
|
settingDefinition.WithProperty(property.Key, property.Value); |
|
|
|