コード例 #1
0
 public void Monitor_LiveFeedUpdated(object sender, LiveFeedUpdatedEventArgs e)
 {
     if (_fileWriter.LastElapsedWritten == null || e.LiveFeedData.Elapsed != _fileWriter.LastElapsedWritten.Value)
     {
         _fileWriter.WriteFile(e.LiveFeedData);
     }
 }
コード例 #2
0
 public void Monitor_LiveFeedUpdated(object sender, LiveFeedUpdatedEventArgs e)
 {
     try
     {
         ProcessLiveFeedDataAsync(e.LiveFeedData);
     }
     catch (Exception ex)
     {
         ExceptionHandler("Error processing live feed update", ex);
     }
 }