Пример #1
0
 public VisualizerUpdateContext(SolutionSnapshot theSnapshot, DisplayModel theDisplay, VisualizerBindingExpressionModel theBinding, ModelModel theModel)
 {
     Snapshot = theSnapshot;
     Display  = theDisplay;
     Binding  = theBinding;
     Model    = theModel;
 }
Пример #2
0
 /// <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;
 }
Пример #3
0
 /// <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();
 }
Пример #4
0
 public PropertyUpdateContext(SolutionSnapshot theSnapshot, DisplayModel theDisplay, ModelModel theModel)
 {
     Snapshot = theSnapshot;
     Display  = theDisplay;
     Model    = theModel;
 }