C#: How to update all sliders and run the simulation once

Hello,

I am working on a c# application that uses RhinoWIP to run a model after setting a number of inputs through number sliders. I followed recommendation from this thread on how to set all number sliders first, run the model once, and finally collect result from a number of output. However, VolatileData.PathCount seems to always be zero. As an experiment, I also tried below. In the below case the result of CastTo is false due to volatile data being unstable.

foreach (var item in source.VolatileData.AllData(true))
{
if (item.CastTo(out double value))
{

}
}

I greatly appreciate your help.

Thanks,
Farzad