public SimpleDataItem(InputSetItem isi, bool summary = true) { Name = isi.Name; InputSets = isi.InputSets.Select(iset => iset.Name).ToArray(); #if V3 || V4_0 || V4_1 || V4_2_0 bool slim = isi.DataSource.PersistedData.Count >= SLIM_TS_THRESHOLD; Details = isi.DataSource.PersistedData.Select(ddi => new SimpleDataDetails(ddi, summary, slim)).ToArray(); #else bool slim = isi.DataSource.Data.Count >= SLIM_TS_THRESHOLD; Details = isi.DataSource.Data.Select(ddi => new SimpleDataDetails(ddi, summary)).ToArray(); #endif ReloadOnRun = isi.DataSource.Data.Any(ddi => ddi.DataInformation.ReloadOnRun); }
public SimpleDataItem(InputSetItem isi,bool summary=true) { Name = isi.Name; InputSets = isi.InputSets.Select(iset => iset.Name).ToArray(); Details = isi.DataSource.PersistedData.Select(ddi => new SimpleDataDetails(ddi,summary)).ToArray(); }