예제 #1
0
 private void BuildSolution(object sender, RoutedEventArgs e)
 {
     using (new WaitCursor())
     {
         BuildRequested?.Invoke(this, EventArgs.Empty);
     }
 }
예제 #2
0
 public void RaiseBuildRequestEvent()
 {
     BuildRequested.Should().NotBeNull();            //ensure the controller is dialed in
     BuildRequested?.Invoke(this, EventArgs.Empty);  //invoke the controller method
 }
 private void Build() => BuildRequested?.Invoke();