internal static MacroScriptEngine GetEngineByType(string scriptType) { MacroScriptEngine mse = new MacroScriptEngine(); mse.loadRunTime(); mse.m_engine = mse.m_runTime.GetEngine(scriptType); mse.m_exceptionOperations = mse.m_engine.GetService<ExceptionOperations>(); return mse; }
internal static MacroScriptEngine LoadEngineByFileExtension(string fileExtension) { MacroScriptEngine mse = new MacroScriptEngine(); mse.loadRunTime(); mse.m_engine = mse.m_runTime.GetEngineByFileExtension(fileExtension); mse.m_exceptionOperations = mse.m_engine.GetService<ExceptionOperations>(); return mse; }
internal static MacroScriptEngine GetEngineByType(string scriptType) { MacroScriptEngine mse = new MacroScriptEngine(); mse.loadRunTime(); mse.m_engine = mse.m_runTime.GetEngine(scriptType); mse.m_exceptionOperations = mse.m_engine.GetService <ExceptionOperations>(); return(mse); }
internal static MacroScriptEngine LoadEngineByFileExtension(string fileExtension) { MacroScriptEngine mse = new MacroScriptEngine(); mse.loadRunTime(); mse.m_engine = mse.m_runTime.GetEngineByFileExtension(fileExtension); mse.m_exceptionOperations = mse.m_engine.GetService <ExceptionOperations>(); return(mse); }