示例#1
0
        public void Initialize()
        {
            SetDefaultEnvironmentIfNeeded();

            var symbolsContext = Environment.SymbolsContext;
            _machine.Cleanup();
            foreach (var item in Environment.AttachedContexts)
            {
                _machine.AttachContext(item, false);
            }

            _attachedScriptsFactory = new AttachedScriptsFactory(this);
            AttachedScriptsFactory.SetInstance(_attachedScriptsFactory);
        }
 public static void Dispose()
 {
     _instance = null;
 }
 public static void Dispose()
 {
     _instance = null;
 }
 internal static void SetInstance(AttachedScriptsFactory factory)
 {
     _instance = factory;
 }
 internal static void SetInstance(AttachedScriptsFactory factory)
 {
     _instance = factory;
 }