Exemplo n.º 1
0
 public async Task UpdateContent(SystemConfiguration configuration)
 {
     await _systemConfigurationStore.UpdateContent(configuration);
 }
Exemplo n.º 2
0
 public T GetConfigurationValue <T>(SystemConfiguration configuration)
 {
     //使用Json反序列化将配置内容转换成配置对象
     return(JsonSerializerHelper.Deserialize <T>(configuration.Content));
 }