/// <summary> /// Initializes a new instance of the <see cref="PipelineDiagnosticsVisualizationPresenter"/> class. /// </summary> /// <param name="view">Diagnostics view.</param> /// <param name="visualizationObject">Visualization object for this presenter.</param> public PipelineDiagnosticsVisualizationPresenter(PipelineDiagnosticsVisualizationObjectView view, PipelineDiagnosticsVisualizationObject visualizationObject) { this.model = new PipelineDiagnosticsVisualizationModel(); this.view = view; this.UpdateSettings(visualizationObject); }
/// <summary> /// Initializes a new instance of the <see cref="PipelineDiagnosticsVisualizationPresenter"/> class. /// </summary> /// <param name="view">Diagnostics view.</param> /// <param name="config">Visualization configuration.</param> public PipelineDiagnosticsVisualizationPresenter(PipelineDiagnosticsVisualizationObjectView view, Config.DiagnosticsVisualizationObjectConfiguration config) { this.model = new PipelineDiagnosticsVisualizationModel(); this.view = view; this.UpdateConfig(config); }