Пример #1
0
 /// <summary>
 /// 重写以实现重置OSharp配置信息
 /// </summary>
 /// <param name="config">原始配置信息</param>
 /// <returns>重置后的配置信息</returns>
 protected virtual OSharpConfig ResetConfig(OSharpConfig config)
 {
     return config;
 }
 /// <summary>
 /// 重写以实现重置OSharp配置信息
 /// </summary>
 /// <param name="config">原始配置信息</param>
 /// <returns>重置后的配置信息</returns>
 protected OSharpConfig ResetConfig(OSharpConfig config)
 {
     if (_options.DataConfigReseter != null)
     {
         config.DataConfig = _options.DataConfigReseter.Reset(config.DataConfig);
     }
     return config;
 }