public ImageWorkspacePanelItemController(IImageHandler imageHandler, WorkspacePanelItem view) : base(view) { ImageHandler = imageHandler; if (ImageHandler != null) { ImageHandler.ImageUpdated += data => UpdateView(); } }
public DataProcessorWorkspacePanelItemController(IDataProcessor dataProcessor, WorkspacePanelItem view) : base(view) { DataProcessor = dataProcessor; DataProcessorInfo = new DataProcessorInfo(dataProcessor); dataProcessor.Updated += UpdateView; }
protected WorkspacePanelItemControllerBase(WorkspacePanelItem view) { View = view; }