mirror of
https://github.com/KevinWG/OSS.Common.git
synced 2026-10-29 06:06:52 +08:00
删除imgageutil stringutil 优化方法
This commit is contained in:
@@ -17,17 +17,22 @@ namespace OS.Common.Modules.DirConfigModule
|
||||
|
||||
static DirConfig()
|
||||
{
|
||||
|
||||
#if DNXCORE50
|
||||
_defaultPath = AppDomain.CurrentDomain.BaseDirectory;
|
||||
#else
|
||||
_defaultPath = AppDomain.CurrentDomain.BaseDirectory;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 设置字典配置信息
|
||||
/// </summary>
|
||||
/// <typeparam name="TConfig"></typeparam>
|
||||
/// <param name="key"></param>
|
||||
/// <param name="dirConfig"></param>
|
||||
/// <returns></returns>
|
||||
/// <summary>
|
||||
/// 设置字典配置信息
|
||||
/// </summary>
|
||||
/// <typeparam name="TConfig"></typeparam>
|
||||
/// <param name="key"></param>
|
||||
/// <param name="dirConfig"></param>
|
||||
/// <returns></returns>
|
||||
public ResultModel SetDirConfig<TConfig>( string key, TConfig dirConfig) where TConfig:class ,new()
|
||||
{
|
||||
if (string.IsNullOrEmpty(key))
|
||||
|
||||
Reference in New Issue
Block a user