internal static LiveRunner.Options CreateLiveRunnerOptions(GraphController controller) { LiveRunner.Options opt = new LiveRunner.Options(); if (null != CoreComponent.Instance.HostApplication) { // IDE-1964 Opening existing file not clearing the OGL window. Update the session key // to match the latest one obtained directly from the "GraphController". opt.PassThroughConfiguration = CoreComponent.Instance.HostApplication.Configurations; opt.PassThroughConfiguration[ConfigurationKeys.SessionKey] = controller.Identifier.ToString(); } opt.RootModulePathName = controller.FilePath; return(opt); }
internal static ILiveRunner CreateLiveRunner(GraphController controller) { LiveRunner.Options opt = CreateLiveRunnerOptions(controller); return(new LiveRunner(opt)); }
internal static ILiveRunner CreateLiveRunner(EngineController controller) { LiveRunner.Options option = new LiveRunner.Options(); return(new LiveRunner(option)); }