private void OnShowTestResults() { ITestDetailsViewModel testDetailsViewModel = _viewModelLocator.TestDetailsViewModel; InitializeTestDetailsViewModel(testDetailsViewModel); _viewModelLocator.WindowService.ShowViewModel(testDetailsViewModel); }
protected virtual void InitializeTestDetailsViewModel(ITestDetailsViewModel testDetailsViewModel) { testDetailsViewModel.Configuration = Configuration; testDetailsViewModel.Models = Models; }