コード例 #1
0
 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
 }
コード例 #2
0
 private void SolutionFileChanged(object sender, TextChangedEventArgs e)
 {
     SolutionFileSelected?.Invoke(this, new SolutionFileArgs {
         SolutionFile = SolutionFileTextBox.Text
     });
 }