Beispiel #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();
                });
            });
        }
Beispiel #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();
                });
            });
        }