public override void Dispose()
 {
     EnsureVisualizerIsClosed();
     _viewManager = null;
     Execution.NodesChanged -= ExecutionNodesChanged;
     VixenSystem.Contexts.ContextCreated -= ProgramContextCreated;
     VixenSystem.Contexts.ContextReleased -= ProgramContextReleased;
     base.Dispose();
 }
 public override void Stop()
 {
     EnsureVisualizerIsClosed();
     _viewManager = null;
     base.Stop();
 }
 public DisplayPreviewModuleInstance()
 {
     _programContexts = new List<IProgramContext>();
     _viewManager=new ViewManager();
 }