コード例 #1
0
 private void OnStaticAnalysisCompleted(object sender, StaticAnalysisEventArgs e)
 {
     if (StaticAnalysisCompleted != null)
     {
         StaticAnalysisCompleted(sender, e);
     }
 }
コード例 #2
0
 /// <summary>
 /// Handles the DetectionCompleted event of the DetectionDispatcher control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">
 ///     The <see cref="DetectionCompletedEventArgs"/> instance containing the event data.
 /// </param>
 private void DetectionDispatcher_DetectionCompleted(object sender, StaticAnalysisEventArgs e)
 {
     StatusBar.SetText(string.Format("{0} achievements tested in {1} milliseconds",
                                     e.AchievementsTested, e.ElapsedMilliseconds));
 }
コード例 #3
0
 private static void DetectionDispatcher_DetectionCompleted(object sender, StaticAnalysisEventArgs e)
 {
     System.Console.WriteLine(string.Format("{0} achievements tested in {1} milliseconds",
                                            e.AchievementsTested, e.ElapsedMilliseconds));
 }