Example #1
0
 public void OnItemStarted(int itemNumber, object item, TimeSpan materializationDuration, ITaskStep step, TaskDefinition task)
 {
     ItemStarted?.Invoke(new ItemStartedEvent
     {
         ItemNumber = itemNumber,
         Item       = item,
         MaterializationDuration = materializationDuration,
         Step      = step,
         Task      = task,
         Timestamp = DateTimeUtils.Now
     });
 }
Example #2
0
 internal void OnItemStarted(TrackItem sender, TimingEventArgs e)
 {
     ItemStarted?.Invoke(sender, e);
     Console.WriteLine($"Item Started => {sender.Text}");
 }