16 using System.Collections;
17 using System.Collections.Generic;
24 public class Fill : IEnumerable<OrderEvent>
26 private readonly List<OrderEvent> _orderEvents;
32 public Fill(List<OrderEvent> orderEvents)
34 _orderEvents = orderEvents;
43 _orderEvents =
new() { orderEvent };
51 return _orderEvents.GetEnumerator();
54 IEnumerator IEnumerable.GetEnumerator()