Skip to content

Instantly share code, notes, and snippets.

@jcbozonier
Created October 26, 2009 16:02
Show Gist options
  • Select an option

  • Save jcbozonier/218754 to your computer and use it in GitHub Desktop.

Select an option

Save jcbozonier/218754 to your computer and use it in GitHub Desktop.
return (from table in theTable
where table.IndexType == Indices.AttainedAge
select new AggregatedTable(Enumerable.Range(0, theTable[0].LayerCount).Select(layerIndex => new OneDimensionalLayerExportAdapter(table, layerIndex)).ToArray())
into aggregatedTable select new[] { aggregatedTable }).Cast<IEnumerable<IExportAdapter>>().ToList();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment