EP RScript
This commit is contained in:
29
Convention/[RScript]/ScriptRunner.cs
Normal file
29
Convention/[RScript]/ScriptRunner.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Convention.RScript
|
||||
{
|
||||
public class ScriptRunner
|
||||
{
|
||||
public ScriptContent BuildNewContent(object target)
|
||||
{
|
||||
return new()
|
||||
{
|
||||
RuntimeBindingTarget = target,
|
||||
};
|
||||
}
|
||||
|
||||
public ScriptContent BuildNewContent()
|
||||
{
|
||||
return BuildNewContent(null);
|
||||
}
|
||||
|
||||
public void RunScriptFromContent(ScriptContent content)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user