public void RaiseSolutionFileSelectedEvent(string file) { SolutionFileSelected.Should().NotBeNull(); //ensure the controller is dialed in SolutionFileSelected?.Invoke(this, new SolutionFileArgs { SolutionFile = file }); //invoke the controller method }
private void SolutionFileChanged(object sender, TextChangedEventArgs e) { SolutionFileSelected?.Invoke(this, new SolutionFileArgs { SolutionFile = SolutionFileTextBox.Text }); }