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 }); }
internal void OnItemEnded(TrackItem sender, TimingEventArgs e) { ItemEnded?.Invoke(sender, e); Console.WriteLine($"Item Ended => {sender.Text}"); }