public override IScriptContext CreateScriptContext(IDependencyContainer container) { IEvaluator evaluator = CSScript.CodeDomEvaluator.Clone(); evaluator.ReferenceDomainAssemblies(); var ctx = new CSharpScriptContext(container, evaluator); RegisterContext(ctx); return(ctx); }
public CSharpPlugin(ScriptPluginMeta pluginMeta, IDependencyContainer container, ScriptingProvider provider, CSharpScriptContext context) : base(pluginMeta, container, provider, context) { }