示例#1
0
 public VisualizerUpdateContext(SolutionSnapshot theSnapshot, DisplayModel theDisplay, VisualizerBindingExpressionModel theBinding, ModelModel theModel)
 {
     Snapshot = theSnapshot;
     Display  = theDisplay;
     Binding  = theBinding;
     Model    = theModel;
 }
 /// <summary>
 /// Delete the visualizer binding from the workspace.
 /// </summary>
 /// <param name="aVisualizerBinding">Visualizer binding to delete.</param>
 public void DeleteBindingExpression(VisualizerBindingExpressionModel aVisualizerBinding)
 {
     Display.DeleteBindingExpression(aVisualizerBinding);
 }
 /// <summary>
 /// Add a new visualizer binding expression.
 /// </summary>
 /// <param name="newBindingExpression">New visualizer binding expression.</param>
 public void AddBindingExpression(VisualizerBindingExpressionModel newBindingExpression)
 {
     Display.AddBindingExpression(newBindingExpression);
 }