/// <summary> /// Method wich is called on each simulation itteration start /// </summary> /// <param name="sender"></param> /// <param name="_theArgs"></param> private static async void StartSimulation(object sender, TickerArgs _theArgs) { if (!_theArgs.CanselationRequest) { var backendTask = dayCareBackEndAccessAccess.SimulationProgress(_theArgs); await Task.WhenAll(backendTask); } }
private static async void StartSimulation(object sender, TickerArgs e) { await dayCareBackEndAccess.SimulationProgress(e); }