Beispiel #1
0
 public MainViewModel(HeadlightViewModel headlightViewModel, ConnectionViewModel connectionViewModel,CameraViewModel cameraViewModel,ISpeechRecognizer speechRecognizer)
 {
     ViewModelsContainer.HeadlightViewModel = headlightViewModel;
     ViewModelsContainer.ConnectionViewModel = connectionViewModel;
     ViewModelsContainer.CameraViewModel = cameraViewModel;
     _speechRecognizer = speechRecognizer;
     _speechRecognizer.InitializeRecognizer();
 }
Beispiel #2
0
 public MainViewModel(HeadlightViewModel headlightViewModel, ConnectionViewModel connectionViewModel, CameraViewModel cameraViewModel, ISpeechRecognizer speechRecognizer)
 {
     ViewModelsContainer.HeadlightViewModel  = headlightViewModel;
     ViewModelsContainer.ConnectionViewModel = connectionViewModel;
     ViewModelsContainer.CameraViewModel     = cameraViewModel;
     _speechRecognizer = speechRecognizer;
     _speechRecognizer.InitializeRecognizer();
 }