Example #1
0
 /// <summary>
 /// Constructsa script manager.
 /// </summary>
 public ScriptManager()
 {
     m_scriptLoader             = new ScriptLoaderDefault();
     m_variableDictionaryGlobal = VariableDictionary.CreateGlobalDictionary();
     m_dictHostFunctionPrototypes
                     = new Dictionary <string, HostFunctionPrototype>();
     m_dictLocks     = new Dictionary <object, ScriptContext>();
     m_bDebugMode    = true;
     m_bOptimiseCode = true;
 }