Example #1
0
        protected void FillClientWebPartPages(WebModelNode web)
        {
            web.AddHostPagesList(list =>
            {
                list.AddRandomPublishingPage(page =>
                {
                    page.AddRandomWebpart();
                });
            });

            web.AddHostSitePagesList(list =>
            {
                list.AddRandomWikiPage(page =>
                {
                    page.AddRandomWebpart();
                });

                list.AddRandomWebPartPage(page =>
                {
                    page.AddRandomWebpart();
                });
            });
        }
Example #2
0
        protected void FillClientWebPartPages(WebModelNode web)
        {
            web.AddHostPagesList(list =>
            {
                list.AddRandomPublishingPage(page =>
                {
                    page.AddRandomWebpart();
                });
            });

            web.AddHostSitePagesList(list =>
            {
                list.AddRandomWikiPage(page =>
                {
                    page.AddRandomWebpart();
                });

                list.AddRandomWebPartPage(page =>
                {
                    page.AddRandomWebpart();
                });
            });
        }