public static void Initialize(bool allowCallbacks, bool enableLogging) { var bridge = new WSHBridge(); var runtime = InteropContextManager.InitializeUniqueRuntime(bridge, allowCallbacks, enableLogging); bridge.Bind(runtime); InteropContextManager.Database.PrepareNewRuntime(runtime); }
internal WSHPlugin(WSHBridge bridge) { this.bridge = bridge; cache = new Cache(); }