Ejemplo n.º 1
0
        private void AddPagesToDeployables(ShadowCopyItemCollection deployables)
        {
            var pageGen = new QuickPageGenerator(_portal.Project);

            foreach (PortalPage page in _portal.AllPages)
            {
                page.Validate(true);

                IShadowCopyProvider provider = new QuickPageGenerationProvider(pageGen, page, _portal);

                deployables.AddRange(provider.GetItems(_worker));
            }
        }
 internal QuickPageGenerationProvider(QuickPageGenerator generator, PortalPage page, CabApplicationPortal portal)
     : base(portal)
 {
     _gen = generator;
     _page = page;
 }