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