Class TemplateViewModel
Exposes an existing TemplateViz model to a card through Block.
Inherited Members
Namespace: MOSAIC.ViewModels
Assembly: MOSAIC.dll
Syntax
public class TemplateViewModel : ViewModelBase, INotifyPropertyChanged, INotifyPropertyChanging
Remarks
Pass the pipeline's model from the card selector; do not create a second processing block. This wrapper owns no subscriptions or visualization resources. The model owns its bundle. Bind VisualizationPanel.Source to Block.Viz in the view.
Constructors
TemplateViewModel(TemplateViz)
Wraps the pipeline's model for binding.
Declaration
public TemplateViewModel(TemplateViz block)
Parameters
| Type | Name | Description |
|---|---|---|
| TemplateViz | block |
Properties
Block
The model instance belonging to the pipeline.
Declaration
public TemplateViz Block { get; }
Property Value
| Type | Description |
|---|---|
| TemplateViz |