Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// ...
var model = new CarouselViewModel
{
Items =
currentBlock.MainContentArea.FilteredItems.Select(
cai => contentLoader.Get<ICarouselContent>(cai.ContentLink)).ToList(),
CurrentBlock = currentBlock
};
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment