//**************************************************************************************************** //ћетоды дл¤ перезапуска объекта посрединика между gui и парсером private void DoRestart() { if (m_doing) Subroutine.Moment.Break(); while (m_doing) {} InterprEnvironment.Reset(); m_env = InterprEnvironment.Instance; m_env.CurrentConsole = m_console; m_env.LoadSubs(); }
//**************************************************************************************************** public static void Reset() { s_instance = new InterprEnvironment(); }
private Facade(IConsole console) { m_console = console; m_env = InterprEnvironment.Instance; m_env.CurrentConsole = m_console; }