Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 internal static ILiveRunner CreateLiveRunner(GraphController controller)
 {
     LiveRunner.Options opt = CreateLiveRunnerOptions(controller);
     return(new LiveRunner(opt));
 }
Ejemplo n.º 3
0
 internal static ILiveRunner CreateLiveRunner(EngineController controller)
 {
     LiveRunner.Options option = new LiveRunner.Options();
     return(new LiveRunner(option));
 }