protected virtual void PostValidateMainSite(MainSite site)
 {
     if (site.Find((Predicate <ViewElement>)(v => v is DocumentGroup)) != null)
     {
         return;
     }
     site.Child = WindowProfile.CreateDefaultMainSiteContent();
 }
Exemple #2
0
 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();
 }