protected virtual void PostValidateMainSite(MainSite site) { if (site.Find((Predicate <ViewElement>)(v => v is DocumentGroup)) != null) { return; } site.Child = WindowProfile.CreateDefaultMainSiteContent(); }
protected override void PostValidateMainSite(MainSite site) { if (site.Find((Predicate <ViewElement>)(v => { if (!(v is DocumentGroup)) { return(v is NakedView); } return(true); })) != null) { return; } site.Child = WindowProfile.CreateDefaultMainSiteContent(); }