private void AddSnapshotResult(List<IResult> results, ISnapshot shot) { object res = shot.Run(); if (res != null) { results.Add((IResult)res); } UpdateProgressBar(); }