Beispiel #1
0
 // gets all needed models and initializes
 public SimulationRunnerModel(IFileLoaderModel fileLoader, IFlightStateControllerModel stateController, ISimulationSpeedControllerModel speedController)
 {
     fileLoader.NotifyCSVChanged += delegate()
     {
         stateController.CurrentIndexOfLine = fileLoader.GetNumOfCSVLines();
     };
     this.fileLoader      = fileLoader;
     this.stateController = stateController;
     this.speedController = speedController;
 }
 public FileLoaderViewModel(IFileLoaderModel model)
 {
     this.model = model;
 }