heal-research / SimSharp

Sim# is a .NET port of SimPy, process-based discrete event simulation framework
MIT License
126 stars 30 forks source link

Add `IEnumerable<double> Samples` to `ISampleMonitor` #31

Closed MattKotsenas closed 4 years ago

MattKotsenas commented 4 years ago

The field IEnumerable<double> Samples is already present on SampleMonitor, but it's missing from ISampleMonitor, which requires a (potentially dangerous) cast.

To make the cast unnecessary, add it to the interface.

abeham commented 4 years ago

Thanks!