变量的更改
This commit is contained in:
@@ -55,5 +55,14 @@ namespace CapMachine.Core
|
||||
ConfigurationManager.AppSettings.Remove(key);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 判断Key是否存在
|
||||
/// </summary>
|
||||
/// <param name="key"></param>
|
||||
/// <returns></returns>
|
||||
public static bool IsExist(string key)
|
||||
{
|
||||
return ConfigurationManager.AppSettings[key] != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user