mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-04 00:35:40 +08:00
为Script提供了SereinScript.ExecuteAsync执行脚本文本内容的静态方法。
This commit is contained in:
@@ -4,10 +4,21 @@ namespace Serein.Script
|
||||
{
|
||||
public class ScriptInvokeContext : IScriptInvokeContext
|
||||
{
|
||||
/// <summary>
|
||||
/// 脚本使用流程上下文
|
||||
/// </summary>
|
||||
/// <param name="dynamicContext"></param>
|
||||
public ScriptInvokeContext(IDynamicContext dynamicContext)
|
||||
{
|
||||
FlowContext = dynamicContext;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 不使用流程上下文
|
||||
/// </summary>
|
||||
public ScriptInvokeContext()
|
||||
{
|
||||
}
|
||||
|
||||
public IDynamicContext FlowContext{ get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user