public VisualizerUpdateContext(SolutionSnapshot theSnapshot, DisplayModel theDisplay, VisualizerBindingExpressionModel theBinding, ModelModel theModel) { Snapshot = theSnapshot; Display = theDisplay; Binding = theBinding; Model = theModel; }
/// <summary> /// Initialize the solution with the model and snapshot. /// </summary> /// <param name="theModel">Model that the solution is supposed to solve.</param> /// <param name="theSnapshot">Solution snapshot.</param> /// <param name="duration">Time taken to find the solution.</param> public SolutionModel(ModelModel theModel, SolutionSnapshot theSnapshot, TimeSpan duration) { Model = theModel; Snapshot = theSnapshot; Snapshot = new SolutionSnapshot(); Duration = duration; }
/// <summary> /// Initialize the solution with the model. /// </summary> /// <param name="theModel">Model that the solution is supposed to solve.</param> public SolutionModel(ModelModel theModel) { Model = theModel; Snapshot = new SolutionSnapshot(); Snapshot = new SolutionSnapshot(); }
public PropertyUpdateContext(SolutionSnapshot theSnapshot, DisplayModel theDisplay, ModelModel theModel) { Snapshot = theSnapshot; Display = theDisplay; Model = theModel; }