Exemple #1
0
        public static ViewRenderer Create(PortalView view, PortalMasterView master = null)
        {
            Argument.Assert.IsNotNull(view, nameof(view));

            portalScript = view.PortalScript;
            portalStyle  = view.PortalStyle;

            ViewRenderer renderer = new ViewRenderer();

            renderer.InitializeIndexes(renderer.RenderBaseHtml(view));

            return(renderer);
        }