private static List <bool> GetPipelineEnabled(ModelsEx models, FilterModel filter) { var res = new List <bool>(models.NumPipelines); for (int i = 0; i < models.NumPipelines; ++i) { res.Add(filter.IsPipelineEnabled(i)); } return(res); }