public IFolder AddScript(string name, ScriptBlock scriptBlock, string idField, ScriptBlock addScriptBlock, ScriptBlock removeScriptBlock) { var scriptFolder = new ScriptFolder(name, scriptBlock, idField, addScriptBlock, removeScriptBlock); _children.Add(scriptFolder); return(scriptFolder); }
public IFolder AddScript(string name, string script) { var scriptFolder = new ScriptFolder(name, script, null); _children.Add(scriptFolder); return(scriptFolder); }