示例#1
0
        //****************************************************************************************************
        //ћетоды дл¤ перезапуска объекта посрединика между 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();
		}        
示例#2
0
        //****************************************************************************************************
		public static void Reset() {
			s_instance = new InterprEnvironment();
		}
示例#3
0
		private Facade(IConsole console) {
			m_console = console;
			m_env = InterprEnvironment.Instance;
			m_env.CurrentConsole = m_console;
		}