I was having an issue writing some lambda code to get a list of pages with a specific control object type.
Say I am looking for the "widget" type
How would I write the lambda?
var pm = PageManager.GetManager();
var pnWithObjectType = pm.GetPageNodes()
.Where(pn => pn.Page !=
// unsure how to add this piece below
// this does not compile
.Where(pc => pc.Page.Controls.Where(control => control.ObjectType ==