Exemple #1
0
 /// <summary>
 /// Invokes the  <see cref="ExecutionReportModified"/> delegate.
 /// </summary>
 /// <param name="message">The message.</param>
 /// <param name="entry">The report entry <see cref="ReportEntry"/>.</param>
 private void RaiseModified(string message, ReportEntry entry)
 {
     Modified?.Invoke(this, new[] {
         new ExecutionReportModifiedArgs {
             Message     = message,
             ReportEntry = entry
         }
     });
 }
Exemple #2
0
 /// <summary>
 /// Adds a entry.
 /// </summary>
 /// <param name="entry">The entry to add to the execution report <see cref="ReportEntry"/>.</param>
 public void AddEntry(ReportEntry entry)
 {
     _entries.Enqueue(entry);
     RaiseModified($"Completed processing script '{entry.File}'", entry);
 }
Exemple #3
0
 /// <summary>
 /// Adds a entry to the execution report.
 /// </summary>
 /// <param name="report">The execution report to add entry to <see cref="ExecutionReport>."/></param>
 /// <param name="entry">The entry to add to the execution report <see cref="ReportEntry"/>.</param>
 public static void AddEntry(ExecutionReport report, ReportEntry entry)
 {
     report.AddEntry(entry);
 }