mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-16 22:46:35 +08:00
环境接口新增了加载项目文件路径,方便类库在Init事件中自动加载具体的依赖
This commit is contained in:
@@ -54,6 +54,11 @@ namespace Serein.Library.Utils.SereinExpression
|
||||
/// <exception cref="NotSupportedException"></exception>
|
||||
public static object Evaluate(string expression, object targetObJ, out bool isChange)
|
||||
{
|
||||
if (expression.Equals("@get", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
isChange = false;
|
||||
return targetObJ;
|
||||
}
|
||||
//if (expression is null || targetObJ is null)
|
||||
//{
|
||||
// throw new Exception("表达式条件expression is null、 targetObJ is null");
|
||||
|
||||
Reference in New Issue
Block a user