예제 #1
0
 public void OnItemEnded(int itemNumber, object item, ITaskStep step, TaskDefinition task, TimeSpan duration)
 {
     ItemEnded?.Invoke(new ItemEndedEvent
     {
         ItemNumber = itemNumber,
         Item       = item,
         Step       = step,
         Task       = task,
         Duration   = duration,
         Timestamp  = DateTimeUtils.Now
     });
 }
예제 #2
0
 internal void OnItemEnded(TrackItem sender, TimingEventArgs e)
 {
     ItemEnded?.Invoke(sender, e);
     Console.WriteLine($"Item Ended => {sender.Text}");
 }